DEV Community

Samuel Owino
Samuel Owino

Posted on

Git And GitHub For Students & Beginners Understanding Basic Version Control And Collaboration

Git

version control system that allow people to save code, track change and work together on the same project

GitHub# is where your codes us stored Online

Users of GitHub

  • Data Scientists & Engineers

  • AI and machine learning engineers

-Students and Teachers

  • Software Developers

Importance

  • Allow storage codes online

  • Monitor changes of stored codes

  • Allow cooperation in different projects

  • Review codes and suggest changes

Basic Git Workflow

Your Computer → Git → GitHub → Git → Your Computer

Enter fullscreen mode Exit fullscreen mode
  • You pull updates from GitHub

  • Git tracks the changes

  • You push changes to GitHub

  • You pull updates from GitHub

How to push code to GitHub

Push means simply means to sending and uploading codes in GitHub

Steps to be followed in push

  • Go to your GitHub account

  • Click > New repository "an option'

  • Description: Learning Git basics

  • GitHub Command

git push
Enter fullscreen mode Exit fullscreen mode

##How to Pull codes in GitHub##
Pull mean downloading the latest change from GitHub

  • Seeing what files changed

  • Seeing what codes were added or removed

  • Knowing who changed what and when

  • Saving changes as versions you can return to

watch below videos for tutorial on how to push, pull and track change in GitHub
watch on U-tube

This Git and GitHub beginner tutorial introduced the basics of version control and collaboration. Learners gained an understanding of essential Git commands and how GitHub helps manage and share code. With regular practice and continued exploration of advanced features, beginners can confidently use Git and GitHub in real-world projects and teamwork.

Top comments (1)

Collapse
 
avedi profile image
Owen Avedi

Nice