reconfig a git repository to use specified write credentials.