added `is_git_repository()`