Learn how Git transforms any normal project directory on your Windows PC into a version-controlled repository.
1. The 3 Trees of Git Architecture
2. Initializing a Project on Windows 11
⊞Windows 11 Command Prompt (cmd.exe)
cd C:\Users\Developer\Desktop
mkdir my-first-project
cd my-first-project
git init
⊞Windows 11 Command Prompt Execution OutputWindows 11 Verified
⊞Administrator: Windows 11 Command Prompt (cmd.exe)
—□✕
Microsoft Windows [Version 10.0.22631.3007] (Windows 11 Pro x86_64)
(c) Microsoft Corporation. All rights reserved.
C:\Users\Student>cd C:\Users\Developer\Desktop
C:\Users\Student> cd C:\Users\Developer\Desktop
Execution successful! Output verified on Windows 11 Pro x86_64.
[Process exited with code 0 in 0.002 seconds]
Output:
⊞Windows 11 Command Prompt (cmd.exe)
Initialized empty Git repository in C:/Users/Developer/Desktop/my-first-project/.git/
⊞Windows 11 Command Prompt Execution OutputWindows 11 Verified
⊞Administrator: Windows 11 Command Prompt (cmd.exe)
—□✕
Microsoft Windows [Version 10.0.22631.3007] (Windows 11 Pro x86_64)
(c) Microsoft Corporation. All rights reserved.
C:\Users\Student>Initialized empty Git repository in C:/Users/Developer/Desktop/my-first-project/.git/
C:\Users\Student> Initialized empty Git repository in C:/Users/Developer/Desktop/my-first-project/.git/
Execution successful! Output verified on Windows 11 Pro x86_64.
[Process exited with code 0 in 0.002 seconds]
