You must have Git for Windows installed.
Create a new project in Godot:
Create a new repository in GitHub:
Open a PowerShell prompt in your Godot Project Directory and run the following commands:
PowerShell
Godot Project Directory
Initialize the Directory for Git
Stage the Changes
Commit the Changes
Create the main branch
main
Set the Remote Origin to the repository you created in GitHub
Remote Origin
Push the Changes
Verify the Godot Project files in the GitHub repository
Godot Project
GitHub
Last updated 1 year ago
git init
git add .
git commit -m "Initialize"
git branch -M main
git remote add origin https://github.com/cramsey86/knowgodot.git
git push -u origin main