Help: Syncing Repositories - MikuckiBailey/Learning-World GitHub Wiki

$ git fetch [remote]

Fetch changes from the remote, but not update tracking branches.

$ git fetch --prune [remote]

Remove remote refs, that were removed from the remote repository.

$ git pull [remote]

Fetch changes from the remote and merge current branch with its upstream.

$ git push [--tags] [remote]

Push local changes to the remote. Use --tags to push tags.

$ git push -u [remote] [branch]

Push local branch to remote repository. Set its copy as an upstream.