An Ultimate Guide to Git and Github πŸš€

A 🧡
#opensource
πŸ’  Introduction

Git is a source code management technology used by DevOps. It is a free and open-source version control system that is used to efficiently manage small to extremely big projects.
Git is a version control system. Version control is a file manager that maintains track of changes to your projects over time and keeps a complete history of whatever you're working on. It allows many devs around the globe to work together on the same project at the same time
GitHub is a site that hosts Git repositories, but it also has a lot of its own features. It is a web-based GUI for Git, which is a command-line application. Each project has access control and numerous collaborative capabilities, such as wikis and other task management tools.
It is the home of 56 million ( September 2020 ) developers around the globe which is currently owned by Microsoft
πŸ’  Basic GitHub terms

1. Fork: Fork is a copy of another user's repository that lives on your personal Github account. The major reason for this is to adopt other people's repositories to meet your needs.
2. Main: When you create a new repository, it comes with a default development branch.

3. Readme: It is a text file that contains information about other files in a repository. It is usually a basic plain text file called Read Me that serves as documentation.
4. Repository: A Repository is a place where tour work will be stored in a directory or storage space. This is sometimes abbreviated as "repo" by GitHub users.
5. License: If you want your repository to be genuinely open source, you'll need to license it so that others can use, modify, and distribute it.
6. Pull request: It allows you to announce a change made by you in the branch. It is a way for a developer to let the rest of the team know when they've finished a feature.
Basic Git Command

1. git init: The git init command creates a new Git repository. Executing this command creates a .git subdirectory in the current working directory, which contains all of the necessary Git metadata for the new repository.
2. git clone: The git clone command is used to create a copy of a specific repository or branch within a repository.
3. git branch <branch-name>: This git command is used to create a new branch for a specific repository.

4. git checkout <branch-name>: The git checkout command lets you navigate between the branches created by the git branch.
5. git add: It is the first command in a chain of operations that directs Git to "save" a snapshot of the current project state, into the commit history. It is used to tracks your file and changes in Git
6. git commit: The git commit command takes a snapshot of the current state of the project's changes.
7. git push : This command is used to upload git commits to a remote repository like Github
πŸ’  GitHub special repository

GitHub offers a special repository by your username, which should contain a readme.md and it will show in your GitHub profile, just like mine
πŸ’  Bonus

If you are new to open source / GitHub, I recommend you to join an awesome community called EddieHub by @eddiejaoude, where you will learn everything related to GitHub and open source

You also have a huge community that can support you
That is it :D

If you found this thread useful, consider:

βœ… Following me @SuhailKakar for more content like this
πŸ”„ Retweeting the first tweet.

Thanks for your support πŸ™Œ
@eddiejaoude πŸ’ Bonus #2

@elmiracodes also created a great cheat sheet, where common git command are explained very clearly. πŸ‘‡

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Suhail Kakar

Suhail Kakar Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SuhailKakar

21 Nov
Made 2,000 friends in this bird app πŸŽ‰

Thank you all for your support and engagements πŸ™Œ

You guys are awesome and I am very glad you find my content useful. As always here is my Twitter circle πŸ₯° Image
Read 4 tweets
16 Nov
25+ JavaScript Methods Explained 🀯

- Strings
- Objects
- Numbers
- Arrays

A mega-thread 🧡
πŸ’  String

A JavaScript string stores a series of characters or a string is a collection of characters. A string can be any text inside double or single quotes.

String Methods πŸ‘‡
βœ… toUpperCase()

The toUpperCase method is used to convert a string to upper case.
Read 31 tweets
16 Nov
Remove all console.log() from your project in less than a minute ✨

A short thread 🧡
console.log() is a debugging tool that can assist you to figure out what your code is doing. You may follow along as your code executes by displaying a message that contains either descriptive text that tells you what's going on or the values of certain variables.
Removing all console.log() from your project before production can be very difficult, Here is how to remove all console.log() from your project in less than a minute.
Read 7 tweets
13 Nov
πŸ’‘ Top free programming e-books & resources

πŸ“š Turn your ebook shelf into a repository of valuable knowledge without spending a penny.

A Mega Thread 🧡
HTML and CSS {1/2}
@shayhowe's Learn to Code HTML & CSS is a straightforward guide with different learning curves, making them suitable for people looking to learn the basics, or expand their skill set with some advanced techniques.

learn.shayhowe.com/html-css/
HTML and CSS {2/2}

The @Google HTML/CSS Style Guide is a great place to learn more about best practices. The guide contains a myriad of rules governing HTML and CSS style, formatting, meta, and more.

google.github.io/styleguide/htm…
Read 21 tweets
27 Oct
25 Useful Websites For Developers, That You Probably Didn’t Know πŸš€

πŸ”₯ A Mega Thread πŸ‘‡
pastebin.com lets you share snippets of code online, without worrying about HTML code tagging along.
namechk.com lets you pop in a username, and it will search hundreds of social media sites, and domain names, to see what’s available.
Read 26 tweets
20 Oct
An Ultimate Guide to Git and Github πŸš€

Thread 🧡
#opensource
πŸ’  Introduction

Git is a source code management technology used by DevOps. It is a free and open-source version control system that is used to efficiently manage small to extremely big projects.
Git is a version control system. Version control is a file manager that maintains track of changes to your projects over time and keeps a complete history of whatever you're working on. It allows many devs around the globe to work together on the same project at the same time
Read 19 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Thank you for your support!

Follow Us on Twitter!

:(