If current directory is not inside git repository, exit with error #1