Remote Repositories
git fetch <remote>
– retrieve all data from remote repository since last fetch (or clone)- does not modify working directory; requires merging
git fetch --all
– fetch from all remotesgit pull
– executes fetch > mergegit push <remote> <branch>
– push to repositorygit remote -v
– return remote repositories, their shortnames, and URLsgit remote add <remote> <url>
– add a new Git remote repositorygit remote show <remote>
– return information about repository, including if you’re up-to-date.git remote rename <old> <new>
– rename a remote from to git remote rm <remote>
– remove