Otros comandos útiles
# obtener solo el nombre de los archivos con diferencias entre los commits
git diff -–name-only commit1 commit2
# Display a git tree in terminal
# A solution is to create an Alias in your .gitconfig and call it easily:
[alias]
tree = log --graph --decorate --pretty=oneline --abbrev-commit
# prune local tracking branches that do not exist on remote anymore
git fetch --prune
git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d