Tips & Tricks
Git Cheatsheet
![](https://blog.codehunger.in/wp-content/uploads/2020/02/grayscale-photo-of-computer-laptop-near-white-notebook-and-169573.jpg)
Project initialisation
git init
Add your project URL
git remote add origin your-project-url
Check your path URL to take pull or push using remote
git remote -v
Update your project URL
git remote set-url origin new git-url-here
Create branch using command
git checkout -b your-branch-name
Switch Branch
git checkout your-branch-name
To check in which branch currently you are
git branch
Delete your branch using command
git push --delete origin your-branch-name