# copy file or folder from another branch to current
git checkout dev -- path/to/your/file
# undo any modifications made to specific tracked file
git checkout -- path/to/your/file
# undo all modifications made to tracked files
git checkout -- *
# aborting a merge
git reset --merge
git merge --abort
# in event of gzip error
git lfs fetch data/db.tar.gz
git lfs checkout
# delete all branches that have been merged into master
git branch | grep -v "master" | xargs git branch -D