Breaking up code into smaller units
process_current_repo()
git_command()

Thanks to https://github.com/nferraz
(tried merging https://github.com/nferraz/git-cal/commit/f2cf620c3b328bf3abb037e0136e2dc6925861d1
but too many conflicting changes due to my prev commit :) )