Explore by product
GitHub Desktop
Get startedGitHub.comEnterprise administratorsBilling and paymentsOrganizationsCode securityGitHub IssuesGitHub ActionsGitHub PackagesDevelopersREST APIGraphQL APIGitHub InsightsGitHub DiscussionsGitHub CodespacesGitHub SponsorsBuilding communitiesGitHub PagesEducationGitHub DesktopGitHub CLIAtomElectronCodeQL
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.
Syncing your branch→
As commits are pushed to your project on GitHub, you can keep your local copy of the project in sync by pulling from the remote repository.
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

