Git

To Delete a remote branch:

git push origin --delete <branchname>

To synchronize the branch list:

git fetch -p

-p for prune

Reset the staging area and working area to recent commit:

git reset --hard

Setting git username and email:

git config --global user.name "Neeraj Ajithkumar"
git config --global user.email "[email protected]"