Documentation: https://git-scm.com/docs
List all remote space:
git remote -v
Rename remote space:
git remote rename <old> <new>
Delete remote space:
git remote remove <name>
List all branches (local + remote):
git branch -a
View correspondence between local and remote branch:
git branch -vv
Associate local and remote branch:
git branch -u <spatial remote / remote branch> [<local branch>]