--git ## Git source initialization In the root of your project source write the following command to initialize git
Command: git init
This is the git configuration file, in which we can configure, that which files and folders to ignore means not to add in git repository To add this file write the following command on the root folder of your project
Command: touch .gitignore
Command: git status
Command: git add . for single file Command: git add xyz.js
Command: git commit -m "<any_message>"
Command: git branch <branch_name>
Command: git branch
Command: git branch -r
Command: git branch -v
Command: git branch -r -v
Command: git branch -d <branch_name>
Command: git checkout <branch_name>
Command: git push --set-upstream origin <branch_name>