Initialize git in a directory January 27, 2023 Make sure git is installed. Then run the below command to initialize. git init