I've also lost quite some time kicking accounts and repositories,
in the end I've combined some of the options below (don't forget the [service] section marker and also restart after the changes !)
It's overkill if all are used at the same time, but depending on the needs and paranoia, it can be useful 🙂