Git for Windows Installation - jianwu13/PCTResearch GitHub Wiki

Git for Windows Installation

  1. Download installer from gitforwindows.org

  2. Execec Installer. Click Next.

    git_install_01

  3. Click Next.

    git_install_02

  4. Select more components, If you want. Click Next.

    git_install_03

  5. Click Next.

    git_install_04

  6. Select your preferred text editor. Click Next.

    git_install_05

  7. Select [ Let Git decide ]. Click Next.

    git_install_06

  8. Select [ Git from the command line and also from 3rd-party software ]. Click Next.

    git_install_07

  9. Select [ Use bundled OpenSSH ]. Click Next.

    git_install_08

  10. Select [ Use the OpenSSL library ]. Click Next.

    git_install_09

  11. Select [ Checkout as-is, commit as-is ]. Click Next.

    git_install_10

  12. Select the one you prefer. Click Next.

    git_install_11

  13. Select [ Default(fast-forward or merge) ]. Click Next.

    git_install_12

  14. Select [ Git Credential Manager ]. Click Next.

    git_install_13

  15. Select Both. Click Next.

    git_install_14

  16. Click Install.

    git_install_15

  17. Click Finish.

    git_install_16

  18. Open Command Prompt. Check git installation

    C:\Users\kan>git --version
    git version 2.42.0.windows.2
    
  19. Set user.name and user.email with git config

    C:\Users\kan>git config --global user.name  "YourName"
    C:\Users\kan>git config --global user.email  "[email protected]"
    
    C:\Users\kan>git config --list
    diff.astextplain.textconv=astextplain
    filter.lfs.clean=git-lfs clean -- %f
    ...
    ...
    user.name=YourName
    [email protected]
    credential.helper=manager
    
⚠️ **GitHub.com Fallback** ⚠️