add task 'make tdd'
replicate #9
add sinon
test both cases around getBranch
make the tests pass to close #9
bump version
Merge pull request #10 from keyvanfatehi/9_prevent_crash

9 prevent crash