Initialize a godot 3 or 4 project with a git repo from commandline
navigate to your project directory:
cd /path/to/your/project
or create a new project directory:
mkdir /path/to/new/project
cd /path/to/new/project
run:
godotinit
wget -O ~/.local/bin/godotinit https://raw.githubusercontent.com/loteque/godotinit/main/godotinit
mac or *nix:
chmod +x ~/.local/bin/godotinit
gitbash:
it should run without a permission change