git config: error when editing a repo config and not being in one