Clean up "git-branch.sh" and add remove recursive dir test cases.