Cleaned up reading of stdin in git-hookd
Added copy_all_branches shortcut