DEV Community

Cover image for Version Control for Machine Learning Projects Using GitHub
Thulasidharan P
Thulasidharan P

Posted on

Version Control for Machine Learning Projects Using GitHub

🧠 Workshop Highlights
The workshop aimed to introduce participants to the fundamentals of Git and GitHub, with a focus on managing .txt files and understanding the commit process skills that are critical in the workflow of any data-centric project.

Topics covered included:

  1. Initializing a Git repository (git init)
  2. Tracking changes and staging files (git add)
  3. Committing with messages (git commit)
  4. Syncing with remote repositories (git push)
  5. Viewing logs and branch management
  6. Setting Git user config details
  7. Adding remote repositories (git remote add origin)

Hands-On Learning
Students were guided through real-time examples of creating repositories, editing text files, and committing those changes to GitHub. The workshop featured live demonstrations and practical exercises, where students interacted with GitHub’s interface and terminal commands.

Screenshots included: GitHub commit history, repository overview, and individual commit pages.

Git comments image:
Image description

Git commit version:
Image description

GitHub Repo image:
Image description

Commands Practiced
Here's a quick recap of the commands participants got familiar with:

git init
git add 24mcr119.txt
git commit -m "added personal details"
git push origin main
git status
git log
git branch
git branch -M main
git config user.name "dharansdc"
git config user.email "[email protected]"
git remote add origin https://github.com/dharan-sdc/24mcr119.git

Student Reflections
"This workshop made Git and GitHub feel so much more approachable. I finally understand what ‘committing’ really means!"
— Participant feedback

Conclusion
This workshop proved to be an essential step toward helping students manage their machine learning projects more efficiently. Thanks to Santhosh N.C. sir, participants now feel more confident using GitHub for version control, collaboration, and organizing their ML workflows.

About the Author
Thulasidharan P
Student, Master of Computer Application
Roll No.: 24MCR119
Tech enthusiast exploring the intersection of ML

Top comments (0)