Included in the course
16 lessons (video or text)
13 exercises in the IDE
Assistance in Discussions on the website
What you'll learn
- Develop according to the latest engineering practices
- Effectively manage source code, add it to the public repository, and analyze and modify history
- Work with GitHub and contribute to open-source projects
Git (a version control kit) is one of a developer's many important tools. Regardless of the area of development you choose, all programmers work with source code for projects that are constantly updated, changed, and deleted. In this free beginner's course on Git, you'll learn how to manage this process properly, how to deal with bugs, how to examine your change history, and how to maintain collaborative development.
IntroductionGet acquainted with the course and look at what problems developers face when working with source code. We'll look at why Git has become so ubiquitous, and why it's a core tool for almost any development project.
Installation and setupWe'll explain how to set up your operating system (Ubuntu/MacOS/Windows), install Git and the VSCode editor, and create a Github account, and we'll also give you some further guidance on how to master Git.
Integration with GithubWe'll take a look at how to set up GitHub, create a repository, and link it to a local one. We'll also learn how to clone a GitHub repository to your computer.
Working DirectoryWe'll learn about what a working directory is and how it differs from a repository, and we'll see how to restore files.
Analyzing changes madeWe'll find out why analyzing changes is useful even for small projects. We'll also take a look at the git diff command, which is run before each commit.
Analyzing the history of commitsWe'll find out how to get all sorts of info about past commits, i.e., who changed the code, when did they change it, and why? We'll also explore the commands needed to do this: log, show, blame, grep.
Undoing changes in the working directoryWe'll discuss how to roll back changes that were made in the working directory, but haven't been committed yet. We'll also learn how to revert changed files to their initial state.
Cancelling commitsWhat do you do if you've already committed, but you want to change your mind? We'll learn special commands to simplify the process of undoing or changing a commit: revert and reset.
Changing the last commitCommitted but forgot to add some files? We'll find out how to add changes to the current commit without creating a new one.
Moving through historyGit allows you not only to view the history, but also to navigate through it by uploading the state of any commit to the working directory. Let's figure out how to do this
Understanding GitGit's main purpose is to build a set of single-linked lists made up of commits. Here, we'll introduce the key concept of Git and the concept of branches.
Ignoring files (Gitignore)We'll learn the concept of ignoring files and how to decide what to include and exclude from the repository.
Open Source projectsWe'll tell you about how to join in on open-source projects, and we'll also learn about teamwork and how to boost your portfolio.
Do it yourselfSome additional tasks to help you consolidate the theory you've learned
Additional resourcesSome materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic
Suggested learning programs
Development of front-end components for web applications
start anytime 10 months
ProfessionUnder development beginner
Layout with the latest CSS standards
start anytime 5 months