Fork a repository that isn't on github

There’s a project I wish to fork that is hosted not on Github, but on a separate public git server. What git bash command or obvious feature am I missing that allows me to fork this repository? Thanks

You basically need to treat each as a separate remote for a local repository.

  1. Clone the repository to your machine, if you haven’t already (that automatically adds the public server as the origin remote).
  2. Create a repository on Github for your fork.
  3. Add the Github repository as a remote to your local repository.
  4. Push to the Github remote.

For details, see: