... SYNOPSIS git remote [-v | --verbose] git remote add [-t ] [-m ] [-f] [--mirror] ... COMMANDS With no arguments, shows a list of existing remotes. Several subcommands are available to perform operations on the remotes. add Adds a remote named for the repository at . The command git fetch can then be used to create and update remote-tracking branches /. With -f option, git fetch is run immediately after the remote information is set up. With -t option, instead of the default glob refspec for the remote to track all branches under $GIT_DIR/remotes//, a refspec to track only is created. You can give more than one -t to track multiple branches without grabbing all branches. With -m option, $GIT_DIR/remotes//HEAD is set up to point at remote?s branch instead of whatever branch the HEAD at the remote repository actually points at. In mirror mode, enabled with --mirror, the refs will not be stored in the refs/remotes/ namespace, but in refs/heads/. This option only makes sense in bare repositories. If a remote uses mirror mode, furthermore, git push will always behave as if --mirror was passed. ...