add git config
don't try to re-attach if not running