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
Googling is a must-have skill for developers. π
Here are tips on how to use Google like an expert. π
A thread π§΅
Google is such a dominant force in the search engine industry that it is the default search engine for Android smartphones and web browsers such as Chrome.
To put it frankly, Google has become one of the most widely utilized online resources for discovering everything from random facts and music videos to products and services. The sophisticated Google search methods and tips listed below can help you narrow your search results.
Docker is a container management service. Docker's entire purpose is to make it simple for developers to create apps, ship them into containers, and then deploy them wherever they want. Now let's discuss what are containers.
{2/11}
Containers are a solution to the challenge of moving software from one computing environment to another and having it operate consistently. This might be from a developer's laptop to a test environment, or from a real data center computer to a VM in a private/public cloud
The Ultimate Guide to Web 3.0 - Everything you need to know about Web 3.0 before learning it π₯
Thread π§΅
{1/20}
You've probably heard about Web3 unless you've been living under a rock. Web 3.0 is the next step in the web's growth, and it aims to make the internet more intelligent. Before learning more about Web3, let's understand the evolution of the web first.
{2/20}
Over the last few years, the World Wide Web has developed, bringing with it new tools and strategies. Web 1.0, 2.0, and 3.0 are typical names for these stages. Now let's understand each of their stags.
10 Most Used Windows Softwares Alternatives for Linux π§
The alternatives below are more reliable, less buggy, more secure, easy to upgrade, and easy to install. They have a huge amount of fans among users and donβt crash as often as their Windows equivalents π