Marko Vujanic

    Set, Fetch Upsteam git

    Given a branch foo and a remote upstream:

    Get upsteam #

    git branch -vv

    Set upsteam #

    If you for whatever reason need to 'connect' them.
    git branch -u upstream/foo

    When you first push:

    git push -u origin foo