Lister les branches remote
$ git branch -r
  origin/HEAD -> origin/masterMettre à jour la branche
$ git remote set-head origin -a
origin/HEAD set to integrationLa création ou mise à jour est effective
$ git branch -r
  origin/HEAD -> origin/integrationSource : Git branch named origin/HEAD -> origin/master
set-head
    Sets or deletes the default branch for the named remote.
    With -a or --auto, the remote is queried to determine its HEAD.
    With -d or --delete, the symbolic ref refs/remotes/<name>/HEAD is deleted.