How to maintain a Github fork of a popular project How to maintain a Github fork of a popular project git git

How to maintain a Github fork of a popular project


You can configure to remote repositories to use in git. In the project cloned from your fork, type the following comand: git remote add name url where name is a alias to a url that represents the master repo.

With that, to bring the new updates from the master repo, just type: git pull name master. To send the changes to your fork repo: git push origin master.