Awesome idea! Here's a DEV.to-ready blog post tailored for a Planetary Science Tech Enthusiast whoβs setting up Git and VS Code on a Windows 11 system. The article is written in a friendly, technically informative tone that would fit well on DEV.to.
πͺ Setting Up Git & VS Code on Windows 11 β A Guide for Planetary Science Tech Enthusiasts π
Whether you're simulating Martian dust storms or tracking comet data with Python, version control is your mission control. Here's how to set up Git + VS Code on a Windows 11 machine as a planetary science dev or space-data wrangler.
π§βπ System Specs I Used for This Setup
I recently started fresh with a laptop that has:
- π» Windows 11
- π§ Intel Core i5 (13th Gen)
- β‘ 16 GB RAM
- πΎ 512 GB SSD
Itβs a perfect mid-range setup for both data science workflows and code versioning.
π Step 1: Install Git on Windows 11
π Download Git:
Go to the official site:
π https://git-scm.com
Download the latest Windows version and run the installer.
π§ Installation Guide:
You can go with most of the default options, but here are some key picks:
Option | Recommended |
---|---|
Editor | VS Code or Notepad++ |
PATH | βοΈ βGit from the command line and also from 3rd-party softwareβ |
HTTPS Backend | OpenSSL (default) |
Line endings | Checkout Windows-style, commit Unix-style |
Terminal | Use MinTTY (default) |
Once installed, launch Git Bash.
π¨βπ» Step 2: Git First-Time Setup
Now, configure Git with your name and email:
git config --global user.name "Your Name"
git config --global user.email "your@email.com"
Check your config with:
git config --list
π Step 3: Setup SSH Key for GitHub
For secure repo access, generate an SSH key:
ssh-keygen -t ed25519 -C "your@email.com"
Accept default file location. You can set a passphrase if you want (optional).
Start the SSH agent and add your key:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
Copy the public key to your clipboard:
clip < ~/.ssh/id_ed25519.pub
π° Add to GitHub:
Go to:
π https://github.com/settings/keys
β New SSH key β Paste β Save
π Step 4: Clone Your First GitHub Repo
Letβs test it by cloning your project (e.g., a todo_app
):
git clone git@github.com:your-username/todo_app.git
Youβll get a one-time prompt about GitHubβs SSH fingerprint. Type yes
to continue.
β
Youβll see something like:
Cloning into 'todo_app'...
Receiving objects: 100% ...
π§ Step 5: Install Visual Studio Code (VS Code)
Download from:
π https://code.visualstudio.com/
During install, check these options:
- β Add to PATH
- β βOpen with Codeβ in Explorer
- β Register as default editor
πΈ Step 6: Open Your Git Project in VS Code
- Launch VS Code
- Go to File > Open Folder
- Navigate to your
todo_app
folder - Open it
The built-in Source Control (Git) tab should activate!
π Step 7: Use Git Inside VS Code
- π¬ Commit messages
- π Push/pull from GitHub
- πΏ Switch branches
VS Code Git UI Quick Actions:
Action | How |
---|---|
Stage file | Click + next to filename |
Commit | Type message β Click βοΈ |
Push | Click β¦ > Push |
Pull | Click β¦ > Pull |
Terminal |
Ctrl + backtick ( ) to open terminal |
π Optional: Power Up VS Code
Install these extensions:
- π GitLens: Git superpowers!
- π³ Git Graph: Visualize your branches
- π° Python, Jupyter, Docker (if you use them)
Set VS Code as your default Git editor:
git config --global core.editor "code --wait"
πͺ Why This Matters for Space Tech + Planetary Science
As a planetary science developer, you're probably:
- Versioning simulation scripts
- Collaborating with researchers
- Managing data pipelines
- Publishing notebooks and findings
Git + VS Code = your mission control center π
Whether you're working with SPICE kernels, NASA APIs, or planetary data pipelines, having this setup streamlines your workflow and future-proofs your codebase.
π‘ Final Thoughts
Thatβs it! Youβre now fully equipped with Git and VS Code, ready to commit your way across the cosmos.
Feel free to fork, clone, and push like a pro.
Stay curious, stay cosmic. π«
β Masoom, Planetary Science Tech Enthusiast
π Comments?
Are you using Git in planetary data pipelines, remote sensing apps, or Martian map generation? Letβs connect and share setups!
Top comments (0)