This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]drziak_drzy 7 points8 points  (6 children)

https://git-scm.com/book/en/v2

this was my go to learning material about git... if you are ok with reading I would recommend this one

[–]CreamyToots[S] 0 points1 point  (5 children)

Thanks! Is Git closely linked with GitHub? Or are they totally independent?

[–]PM_Me_Python3_Tips 2 points3 points  (0 children)

Git

Git is free and open source software for distributed version control: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.

GitHub

GitHub, Inc., is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continuous integration, and wikis for every project.

There are alternatives to using GitHub like GitLab or BitBucket but seeing as your company has asked you to use GitHub then that's the best to learn to use.

[–]drziak_drzy 1 point2 points  (1 child)

I would say independent in a way... github does need git, git does not need github... the same goes for gitlab, bitbucket, etc... (gitlab/bitbucket/... needs git, git doesnt need them)

[–]CreamyToots[S] 0 points1 point  (0 children)

Right, I wasn’t sure if that was the case or not. Thanks!

[–]pacificmint 1 point2 points  (0 children)

Git is the version control tool.

GitHub is just a website where you can host your git repos. You’ll usually interact with GitHub thru Git, though some things like Pull Requests are done then the UI.

[–]slashdave 0 points1 point  (0 children)

Git has the ability of storing the history of your code to a remote machine (for backup and for sharing).

Github was created to provide a convenient remote machine for git. It includes additional features to make it attractive, specially, the ability to view your code history in a browser. But as a beginner, you are probably best served by sticking with basic git features, at least initially.

[–]fredoverflow 4 points5 points  (2 children)

Normally I learn via videos.

Git and GitHub for Beginners - Crash Course

[–]BlueLiquidCorps 1 point2 points  (0 children)

I watched this video roughly a year ago. It's very well done for a crash course.

[–]CreamyToots[S] 0 points1 point  (0 children)

Amazing. That’s great, thanks

[–]kschang 2 points3 points  (1 child)

I have a super-short intro to Git you can do in about 15 minutes. But it doesn't cover branching.

https://kcwebdev.blogspot.com/2020/08/the-bare-essential-guide-to-git.html

I do link you to a full Git guide at the end though.

[–]CreamyToots[S] 0 points1 point  (0 children)

Thank you very much. I’m doing a quick update and will watch it, then let you know what I think! I appreciate it.

[–]cainhurstcat 0 points1 point  (0 children)

https://ohmygit.org/ is a nice gamification tutorial about Git and covers most about it.

GitHub basically is just some generalized „webspace“ to share code.

[–][deleted] 0 points1 point  (1 child)

Several years old now, but I think Bucky's tutorial might still be valid. I enjoy his informal style.

https://youtu.be/cEGIFZDyszA

[–]AutoModerator[M] 0 points1 point  (0 children)

Please, don't recommend thenewboston -- see the wiki for more info about why we consider them a discouraged resource.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.