Overview
Fetching, pulling and pushing.
Fetching
$ git fetch [origin] $ git fetch ln $ git fetch --all
Before fetching, remove any remote-tracking references that no longer exist on the remote.
$ git fetch [-p|--prune]]
Pushing
$ git push origin thisbranch:thatbranch $ git push origin --delete <branchname>