Fixed a bug in the git hw