def check_at_repository_root():
    if (not os.path.exists('.git')):
        print('No .git directory found')
        print('Execute this script at the root of the repository', file=sys.stderr)
        exit(1)
def check_at_repository_root():
    if (not os.path.exists('.git')):
        print('No .git directory found')
        print('Execute this script at the root of the repository', file=sys.stderr)
        exit(1)