Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Git & GitHub Basics

Welcome to the Git & GitHub Basics guide! This repository provides essential information to help you understand and use Git and GitHub effectively for version control and collaboration.


What is Git?

Git is a distributed version control system that tracks changes to files in a project. It allows developers to collaborate on code, maintain history, and manage different versions of a project.

Key Git Commands:

  • git init - Initialize a new Git repository.
  • git clone <repository_url> - Clone an existing repository.
  • git add <file> - Stage changes for a commit.
  • git commit -m "message" - Save staged changes with a message.
  • git push - Upload local changes to a remote repository.
  • git pull - Fetch and merge changes from a remote repository.
  • git status - Check the current state of the working directory.

What is GitHub?

GitHub is a web-based platform for hosting Git repositories. It provides tools for version control, collaboration, and project management.

Features of GitHub:

  • Repositories: Store and manage your codebase.
  • Branches: Work on different features or bug fixes in parallel.
  • Pull Requests: Propose changes and collaborate with team members.
  • Issues: Track bugs, tasks, and feature requests.
  • Actions: Automate workflows with CI/CD pipelines.

Getting Started

Create a Repository:

  1. Go to GitHub and log in.
  2. Click on New Repository.
  3. Name your repository, add a description, and choose visibility (public/private).
  4. Initialize with a README if needed.

Clone a Repository:

git clone <repository_url>
****

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors