Why Git and GitHub Matter Before Learning Python for Cosmology | Day 1

Why do I need to learn coding before even writing my first line of Python for cosmology?This question stayed with me today and shaped everything I studied.What if confusion is actually the first sign that learning has begun?


Day 1 reminded me that understanding tools is part of understanding science.

Understanding Git and GitHub – Before Writing Any Code | Day 1

What I Studied

Today, I didn’t do any hands-on coding. Instead, I focused on understanding Git and GitHub, because I realized that before writing code, I need to know how to manage and preserve my work.

In the coding world, it’s very important to make sure that our work doesn’t get lost if the system crashes or something goes wrong. This is where Git plays a vital role — it helps us track changes and safely store our progress.

GitHub, on the other hand, feels like a LinkedIn profile for the scientific and coding world. When you enter research fields like astrophysics or cosmology, GitHub becomes a place where you share your work, collaborate with others, and communicate through projects.

Since cosmology is a data-driven science, we deal with huge datasets (sometimes terabytes of data). To analyze and interpret this data, we use coding — and to manage, protect, and present this work, tools like Git and GitHub become essential.


So today, I mainly studied:

  • why Git is used in coding and research
  • how GitHub helps researchers collaborate
  • why these tools are important in astrophysics and cosmology

What Confused Me

To be very honest, I felt confused today — and that’s because I don’t come from a computer science background.

Earlier, I was actually afraid of choosing computer science as a subject, and I never really liked it. But after the AI revolution, I slowly started developing an interest in coding and computational fields. Now, it has also become a part of my BSc Physics Honours syllabus, so learning it feels unavoidable — and meaningful.

Being introduced to Python, data science terms, Git, and GitHub for the first time felt overwhelming. Everything sounded new and technical. Even now, concepts like what data science really is and how Git and GitHub actually work behind the scenes are still slightly confusing.

However, the confusion is not as intense as it was before. I believe that by the end of this 30-day series, I’ll gain confidence, and many of these doubts will naturally clear with time and practice.


What I Learned

Even though I felt confused, it doesn’t mean I didn’t learn anything.

Today:

  • I created my GitHub account
  • I explored how GitHub works at a basic level
  • I got an overview of Git and its purpose
  • I wrote down some basic Git commands in my rough notebook so I can remember and use them later
  • I wouldn’t say I understand Git and GitHub deeply yet, but I now have a starting point — and that matters.

 
I invite you to follow along. Whether you’re a student, a science enthusiast, or simply universe-curious, I hope this journey helps you take your first steps into computational cosmology.

Stay tuned for Day 2 !

Until then, keep looking up —

The cosmos is waiting to be decoded. ❤️




Comments