Keeping your local repository in sync with GitHub

You can keep your local repository in sync with your remote repository as you make changes to either one. In Git, a remote is the server where your code is stored. In your case, that server is a repository on GitHub or GitHub Enterprise.

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.