Use os.walk to traverse git branches, and no longer replace slash '/' in git branch names