Some notes on managing remote branches
List remote branches
Checkout a remote branch
Tracking links a local and remote branch so push/pull operations will be applied to both branches. Without tracking the branch is just a independent copy of the remote branch and will not reflect future changes on origin.
-t is not nessesary if git config branch.autosetupmerge true
The master branch is automatically tracked.
If you forget to track a remote branch you can add tracking with:
Push a branch to remote
This branch will automatically be tracked.
Pushing a branch to remote is not usually nessesary unless the code needs reviewing before being merged.
Delete a remote branch Strange syntax alert!!
You will also need to delete the local branch.