DEV Community

masoomjethwa
masoomjethwa

Posted on

Setting Up Git & VS Code on Windows 11 – A Guide for Planetary Science Tech Enthusiasts πŸš€

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"
Enter fullscreen mode Exit fullscreen mode

Check your config with:

git config --list
Enter fullscreen mode Exit fullscreen mode

πŸ” Step 3: Setup SSH Key for GitHub

For secure repo access, generate an SSH key:

ssh-keygen -t ed25519 -C "your@email.com"
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Copy the public key to your clipboard:

clip < ~/.ssh/id_ed25519.pub
Enter fullscreen mode Exit fullscreen mode

πŸ›° 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
Enter fullscreen mode Exit fullscreen mode

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% ...
Enter fullscreen mode Exit fullscreen mode

🧠 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

  1. Launch VS Code
  2. Go to File > Open Folder
  3. Navigate to your todo_app folder
  4. 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"
Enter fullscreen mode Exit fullscreen mode

πŸͺ 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)