Git change User email
git config --global user.email "example@gmail.com"
Git change User name
git config --global user.name "yourName"
Get the current status
git status
Add all changes
git add -A
Adding Specific directory
git add <directory>
Commit message
git commit -m "message for the changes"
Push the code
git push origin <branch name>
Pull the code
git pull origin <branch name>
Creating new Branch
git checkout -b <branch name>
Branch Change
git checkout <branch name>
Avoid changes made in directory
git checkout <directory>