Install WSL on Windows
Following this instruction to install WSL2
wsl --install
Install one of the supported Linux distributions
wsl --install -d Debian
Configure Git
-
Install the
gitinside of WSL withsudo apt install git -
Follow this
instruction
Configure
gitinside of WSL to use Windows Credential Manager -
Install
wslgiton Windows -
Execute
git config --global core.autocrlf true -
Install
git-lfswithsudo apt install git-lfs