#16 Add git repository check

katip was generating multiple lines of error, while running under
a directory which is not a git initiliazed directory. Control added
to check if directory is initialized as a git repostiory