👋 It's for first time in github
- Insatll Git Version Control for CLI
- Sign in using CLI
git config --global user.name "USERNMAE"
git config --global user.email "EMAIL"
- Clone a repository, first copy the url then
git clone URL
- Make your changes
- To add all files
git add .
- To give commit message
git commit -m "Your message"
- To push the changes
git push
- To update local repository with git
git pull
- To delete changes from local machine on repository
git stash
- To check working branch
git branch
- To switch branch
git checkout {branchname}
- To create new branch
git checkout -b {branchname}