git reset HEAD~: Rollback your commit data
git reset –hard: Rollback everything includes deleted files.
git rm –cached .idea : remove .idea folder from cached.
git merge development -m “merge development branch with master branch”: Merge development branch data with master branch
git merge –abort: Undo the merge.
git fetch vs git pull : git fetch command fetch all the data from remote and update the remote branch. git pull do the same work and beside that also update the local branch.