Git Common Commands for beginners
First find your repo and clone this
git clone https://yourgitserver.com/yourgitrepo.git
The if you need to pull repo
git pull
To check what is your current branch
git status
to list all local branches
git branch -a
to list all remote branches
git branch -r
to commit something you have changed
git commit -m 'Initial Comment'
Send local changes to server (Save Changes to server your main branch)
git push origin main
to switch branch
git checkout <branchname>
git switch <branchname> (this is also used)