Git commands simplified
Adding remote branch:
git remote add remote_branch_name remote_branch_url
Ex:
git remote add upstream https://github.com/user/repo.git
Checking remote branches added:
git config -l
Sample:
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
pack.packsizelimit=2g
remote.upstream.url=https://github.com/user/repo.git
remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
Pull...