Information about shortcuts in Git
As you already know, the push and pull commands have short forms. If necessary, you can look at local branches and their corresponding remote ones. This is done using the command you already know:
git remote show origin
As a result, we will see the following information:
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master
See information about the short commands push and pull.