Push Changes to a Remote Repository Once you have made commits to your local copy of a repository, you can push them to the remote copy of the repository. Run the following command: git push origin branch-name Here, replace branch-name with the branch that you are working on.