Git for Windows Installation

  1. Download installer from gitforwindows.org

  2. Execec Installer. Click Next
    .

  3. Click Next
    .

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


  5. Click Next.


  6. Select your preferred text editor. Click Next.


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


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


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


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


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


  12. Select the one you prefer. Click Next.


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


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


  15. Select Both. Click Next.


  16. Click Install.


  17. Click Finish.


  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  "Your@email.address"
    C:\Users\kan>git config --list
    diff.astextplain.textconv=astextplain
    filter.lfs.clean=git-lfs clean -- %f
    ...
    ...
    user.name=YourName
    user.email=Your@email.com
    credential.helper=manager