Support for "git config" and "git remote" wanted?

I use Ansible to ‘prepare’ many developer-workstations which includes cloning several git-repositories from different origin (github, bitbucket, partner- and inhouse-repositories,…) and also have to set different per-repository config and remotes. The existing git module mainly deals with cloning of repositories and has little support for manipulating config and remotes. I’d like to introduce 2 small modules (git_config and git_remote) to handle these use-cases.

Are there any interrests to have this functionality inside the ‘offiicial’ core-module? If so, I would make a pull-request. But maybe these tasks are ‘too trivial’ for most users and I better deploy my modules locally only. So what’s your opinion?

Cheers,
Micha

One interesting use case of this for me would be configuring Heroku remotes on top of the existing Github remote. I have to remember to do that every time I do a fresh install on one of my computers.

I’m interested in a git_config module. In fact I wrote one for my own use because I needed it: https://gist.github.com/mgedmin/b38c74e2d25cb4f47908

Incidentally, is there a way for a module to support --diff without writing an action plugin?

Regards,