I'm quite new to using git, so I'm not very knowledgeable, but have some questions, specifically about using git on Windows.
- Do I have to use git from https://git-scm.com/downloads or can I use other implementations of git?
- Alternatively, there is the
posh-git
PowerShell Module. Can the Cmdlets / Functions in here do everything that git do and so make downloading and installing git? - For now, I'm installing via chocolatey
cinst -y git
installs also the cygwin. I have a problem with cygwin in that it's somewhat redundant these days, especially with things like WSL. Is it possible to just install the git commands without cygwin (I guess I just need thegit.exe
right?). I used to love cygwin and use it all the time, but in 2020, it does seem somewhat redundant, right? - Alternatively, should I just install WSL and then go in there and
sudo apt install git
and then go back into Windows and just create a PowerShell function (using thewsl
method to gain access to a command in the default WSL installation from Windows)? I think something like this should work:function git { wsl git }
Advice from experts on which of the above would be most efficient and sensible would be appreciated.