git push -u
can set up tracking relation between an upstream branch and a local tracking branch, see Why does this example use `git push` without `-u`, while another example does?
Can git fetch
also set up tracking relation between an upstream branch and a remote tracking branch, as defined in remote.<remote>.fetch
, possibly by some option?
Can git pull
set up either or both of the tracking relation between an upstream branch and a remote tracking branch, and the tracking relation between an upstream branch and a local tracking branch, possibly by some option?