O ramo de get, busca a origem, reseta com força.
gifu(){
branch=$(git rev-parse --abbrev-ref HEAD);
git fetch origin;
git reset --hard origin/$branch;
print -P "%F{$colorSuccess}=> Git I Fucked Up, reseted your branch%f"
}
Abra o projeto no Github
gop(){
open `git remote -v | sed 's/^.*:/http://github.com//' | sed 's/.git .*//' | tail -1`
}
Problemas do projeto aberto no Github
gip(){
url=$(git remote -v | perl -n -e 'm{:(.+?).git} && print $1,"n"' | uniq );
open "http://github.com/$url/issues"
}