client/credentials: remove end of line markers from the git credentials file
Inline _get_ignore_manager.
Fix doc string.