ASSIGNMENT ON VIDEO TUTORIALS ON GITHUB AND GITS.
WHAT IS GITHUB:GitHub is a Git repository hosting service that provides a web-based graphical interface. It is the world’s largest coding community. Putting a code or a project into GitHub brings it increased, widespread exposure. Programmers can find source codes in many different languages and use the command-line interface, Git, to make and keep track of any changes.
GitHub helps every team member work together on a project from any location while facilitating collaboration. You can also review previous versions created at an earlier point in time.
So now we know what Git and GitHub are. Time to gain a better understanding of the importance and relevance of what is GitHub by exploring its features.
What are GitHub’s Features?
1. Easy Project Management
GitHub is a place where project managers and developers come together to coordinate, track, and update their work so that projects are transparent and stay on schedule.
2. Increased Safety With Packages
Packages can be published privately, within the team, or publicly to the open-source community. The packages can be used or reused by downloading them from GitHub.
3. Effective Team Management
GitHub helps all the team members stay on the same page and organized. Moderation tools like Issue and Pull Request Locking help the team to focus on the code.
4. Improved Code Writing
Pull requests help the organizations to review, develop, and propose new code. Team members can discuss any implementations and proposals through these before changing the source code.
5. Increased Code Safety
GitHub uses dedicated tools to identify and analyze vulnerabilities to the code that other tools tend to miss. Development teams everywhere work together to secure the software supply chain, from start to finish.
6. Easy Code Hosting
All the code and documentation are in one place. There are millions of repositories on GitHub, and each repository has its own tools to help you host and release code.
WHAT IS GITS:Git is a version control system used
for tracking changes in computer files. It is generally used for source code management in software development.
1.Git is used to tracking changes in the source code
2.The distributed version control tool is used for source code management
3.It allows multiple developers to work together
4.It supports non-linear development through its thousands of parallel branches
Features of Git
Tracks history
Free and open source
Supports non-linear development
Creates backups
Scalable
Supports collaboration
Branching is easier
Distributed development
About repositories
A repository is the most basic element of GitHub. It's a place where you can store your code, your files, and each file's revision history. Repositories can have multiple collaborators and can be either public, internal, or private.
To create a new repository, go to https://github.com/new. For instructions, see Quickstart for repositories.
Repository terminology
Before getting started with repositories, learn these important terms.
Term Definition
Branch A parallel version of your code that is contained within the repository, but does not affect the primary or main branch.
Clone To download a full copy of a repository's data from GitHub.com, including all versions of every file and folder.
Fork A new repository that shares code and visibility settings with the original "upstream" repository.
Merge To take the changes from one branch and apply them to another.
Pull request A request to merge changes from one branch into another.
Remote A repository stored on GitHub, not on your computer.
Upstream The branch on an original repository that has been forked or cloned. The corresponding branch on the cloned or forked repository is called the "downstream."
About collaboration
You can use repositories to manage your work and collaborate with others.
You can use issues to collect user feedback, report software bugs, and organize tasks you'd like to accomplish. For more information, see About issues.
You can use GitHub Discussions to ask and answer questions, share information, make announcements, and conduct or participate in conversations about a project. For more information, see About discussions.
You can use pull requests to propose changes to a repository. For more information, see About pull requests.
You can use Projects to organize and prioritize your issues and pull requests. For more information, see About Projects.
With GitHub Free for personal accounts and organizations, you can work with unlimited collaborators on unlimited public repositories with a full feature set, or unlimited private repositories with a limited feature set. To get advanced tooling for private repositories, you can upgrade to GitHub Pro, GitHub Team, or GitHub Enterprise Cloud. For more information, see GitHub’s plans.
About repository visibility
You can restrict who has access to a repository by choosing a repository's visibility: public, internal, or private.
When you create a repository, you can choose to make the repository public or private. If you're creating the repository in an organization that is owned by an enterprise account, you can also choose to make the repository internal.
If your account is not a managed user account, you can create public repositories. Public repositories are accessible to everyone on the internet.
Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members.
Internal repositories are accessible to all enterprise members. For more information, see About internal repositories.
Organization owners always have access to every repository created in an organization. For more information, see Repository roles for an organization.
People with admin permissions for a repository can change an existing repository's visibility. For more information, see Setting repository visibility.
About GitHub
GitHub is a cloud-based platform where you can store, share, and work together with others to write code.
Storing your code in a "repository" on GitHub allows you to:
Showcase or share your work.
Track and manage changes to your code over time.
Let others review your code, and make suggestions to improve it.
Collaborate on a shared project, without worrying that your changes will impact the work of your collaborators before you're ready to integrate them.
Collaborative working, one of GitHub’s fundamental features, is made possible by the open-source software, Git, upon which GitHub is built.
About Git
Git is a version control system that intelligently tracks changes in files. Git is particularly useful when you and a group of people are all making changes to the same files at the same time.
Typically, to do this in a Git-based workflow, you would:
Create a branch off from the main copy of files that you (and your collaborators) are working on.
Make edits to the files independently and safely on your own personal branch.
Let Git intelligently merge your specific changes back into the main copy of files, so that your changes don't impact other people's updates.
Let Git keep track of your and other people's changes, so you all stay working on the most up-to-date version of the project.
Typically, to do this in a Git-based workflow, you would:
Create a branch off from the main copy of files that you (and your collaborators) are working on.
Make edits to the files independently and safely on your own personal branch.
Let Git intelligently merge your specific changes back into the main copy of files, so that your changes don't impact other people's updates.
Let Git keep track of your and other people's changes, so you all stay working on the most up-to-date version of the project.
If you want to learn more about Git, see About Git.
How do Git and GitHub work together?
When you upload files to GitHub, you'll store them in a "Git repository." This means that when you make changes (or "commits") to your files in GitHub, Git will automatically start to track and manage your changes.
There are plenty of Git-related actions that you can complete on GitHub directly in your browser, such as creating a Git repository, creating branches, and uploading and editing files.
However, most people work on their files locally (on their own computer), then continually sync these local changes—and all the related Git data—with the central "remote" repository on GitHub. There are plenty of tools that you can use to do this, such as GitHub Desktop.
Once you start to collaborate with others and all need to work on the same repository at the same time, you’ll continually:
Pull all the latest changes made by your collaborators from the remote repository on GitHub.
Push back your own changes to the same remote repository on GitHub.
Git figures out how to intelligently merge this flow of changes, and GitHub helps you manage the flow through features such as "pull requests."
Git clone
Here we'll examine the git clone command in depth. git clone is a Git command line utility which is used to target an existing repository and create a clone, or copy of the target repository. In this page we'll discuss extended configuration options and common use cases of git clone. Some points we'll cover here are:
Cloning a local or remote repository
Cloning a bare repository
Using shallow options to partially clone repositories
Git URL syntax and supported protocols
Cloning a repository
When you create a repository on GitHub, it exists as a remote repository. You can clone your repository to create a local copy on your computer and sync between the two locations