Git doesn't provide a user name (nor password). When using https as your protocol, it's a "credential helper" that provides these. See help.github.com/articles/caching-your-github-password-in-git for details. (Using ssh, git still doesn't provide a user name or password either, but the setup seems a bit more straightforward to me with ssh.)– torek