git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "[email protected]"
git status
git init
git add .
git commit -m"some message"
git remote add origin link_of_repo
git remote => helps you to check if remote os there
git branch => tell urs current branch for now defualt is master
git push origin master
git clone link
git stash => remove your chnages
git pull
git stash pop => bring back your changes
git branch => shows all branch and highlights current branch
git checkout -b"write new branch name" => this basically helps you to create a new branch and also navigate to that branch
git checkout branch-name => navigate to that branch
git push origin branch-name => push code to existing branch