Can the credentials stored in Github for Windows be shared with the whole operating system?

Is it possible to share GHfW’s Git configuration with the entire operating system? Ideally I’d like to have GHfW’s git.exe on the system PATH and have the credentials stored through GHfW available from any command prompt?

  • bash: nano: command not found at Windows git bash
  • What is your experience with CI server git support (Windows)?
  • Where exactly Git Bash for Windows' prompt is defined?
  • Git for Windows doesn't work correctly with network directories
  • Emacs and Git show wrong time on Windows
  • git help in Windows command prompt
  • “Not a git repository” after OS reset
  • git CLI how do I perform a checkout that also updates all of the submodules?
  • One Solution collect form web for “Can the credentials stored in Github for Windows be shared with the whole operating system?”

    By default, GitHub For windows will use %USERPROFILE% as its %HOME% to store:

    • .gitconfig (global config for all repos)
    • .ssh/github_rsa (private key used by GitHub for Windows for authentication)*
    • .ssh/github_rsa.pub (public key used by GitHub for Windows for authentication)

    If you are working outside of GitHub for Windows, and git local installation will benefit from the same settings provided the %HOME% is defined to the same %USERPROFILE% environment variable path.

    However, there is no easy way to use (actually find) its wrapped git version:
    GitHub for Windows only exposes a wrapped msysgit in %APPDATA%\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7\cmd\git.exe,
    with 8810fd5c2c79c73adcc73fd0825f3b32fdb816e7 being the SHA1 of a github/msysgit project.
    It uses internally the environment variable %git_install_root%.

    You can grep its path in %USERPROFILE%\Local Settings\Application Data\GitHub\shell.ps1 though.

    Git Baby is a git and github fan, let's start git clone.