cd /driveletter/destinationdirectory
The username and email set up globally will be used for your commits. This helps set up your name/email private. This has no association with actual git username.
git config --global user.name"Your Name"git config --global user.email"[email protected]"
git clonegitRepoUrl(eg. https://github.com/abhissha/GitCommands.git)
git add -A
git commit -m"commit message"
git push
git branch
git branch -d local_branch_name
git merge local_branch_name
git mergetool