check based on git config instead of hostname