3.9 out of 5
3.9
19 reviews on Udemy

Learning Git

Employ the advantageous features of Git in your projects to optimize your workflow with the help of practical examples.
Instructor:
Packt Publishing
182 students enrolled
English [Auto-generated]
Create a git repository quickly to start tracking versions of project
Contribute to different projects by making commits to Git repositories
Secure your repository with the help of SSH keys
Work with multiple people on a project using Branch and Merge commands
Link to the online remote copies of a repository and stay updated with the changes
Maintain your commit history by condensing all the commits into one and use rewrite commands to control it
Add tags to mark the deployed versions of the project
Resolve the bugs by tracing code changes to its origin

Learning Git will help you gain an insight on using different features of Git to increase efficiency in a collaborative work environment.

Start off by installing Git and learn about different version control approaches. Walk through different types of workflows available and select the one best suited for you. Initialize your first repository to start working on your project. Develop an authentication system for your repositories with the help of SSH keys. Combine your work with that of several other contributors with the help of branching and forking. Using pull requests put your work in sync with that of other patrons. Delve through various concepts like rebasing and rewriting commands to manage your commit history. Furthermore, learn to tag different versions of code to identify them easily. Finally, analyze the changes in the code and trace them to its early stage.

Towards the end of the course, you'll be well versed with using diverse features of Git to your own advantage!

About the Author

Sam Slotsky is a software engineer and saxophonist originating from Sioux City, IA. He attended the University of Iowa for Computer Science and Music and is currently employed by Ackmann & Dickenson, Inc. of Minneapolis, specializing in backend web applications, databases, and JavaScript. Additionally, Sam has authored and contributed to open source packages for use with the Meteor framework and makes occasional posts on Coderwall's tech blog.

Git – Quick Start

1
The Course Overview
Get introduced to Git and learn how it can help developers work more efficiently.
2
Git Version Control
Version control is very important to track changes when several people are working on a single project.
3
Choosing a Workflow
Different team dynamics requires different collaboration techniques. Choose the workflow that suits your group.

Building Your First Repository

1
Initialization
Collaboration on changing content necessitates the ability to keep a history of modifications. Initialize your Git repository right away to begin tracking changes.
2
The First Commit
After making changes, your project is in a working state, which you need to save before further modifications. Use "git commit" to check in this set of changes.
3
Managing the Remotes

In order to collaborate, other team members need access to your repository. Add a link to an online remote repository where everyone's changes will be gathered.

4
Viewing the History

You need to be able to identify when changes were made to files and who made them. Use "git log" with various options to see the story of how your project was built.

5
Pop Quiz

Quick quiz to test your learning!

Working in a Team

1
Branching and Forking
Keep your work streams clean and isolated. Make branches for each feature and let team members work with copies of the original repository.
2
Synchronizing
Keep current with updates from other team members. Track and pull down updates from shared branches.
3
Issuing Pull Requests
Submission of work requires an approval process. Use a pull request as a means to discuss and approve reviewable changes.

Advanced Features

1
Interactive Rebasing
Small commits can cause noisy history and difficult conflict resolution. Use interactive rebasing to squash a range of commits into one.
2
Tagging a Release
You want to keep track of specific versions of your project, such as those used in deployments. Use the tagging feature to permanently mark any point in the project's history.
3
Tracing Code
When collaborating, you need a quick insight into who added or removed code and why. Use the blame feature in forward and reverse order to discover where changes originated from.
4
Where to Go Next?

You've acquired substantial knowledge on a powerful versioning tool. Review the lessons learned and get some hands-on experience.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.9
3.9 out of 5
19 Ratings

Detailed Rating

Stars 5
9
Stars 4
5
Stars 3
3
Stars 2
2
Stars 1
0
95539f19a720347e59e67a73437e586a
30-Day Money-Back Guarantee

Includes

1 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion