remove unused git function is_current_branch (looks like it returns alwa...

...ys True anyway which might be wrong)