This is a collection of some nice courses, youtube lectures and weblinks which i found useful to understand the concept and workings of Git.
(0). Two courses online
(1). This is by far the best intro ever. Period. A really nice introduction for the uninitiated!
(2). A good short intro
(3). This is a video on the creator of Git and Linux
(4). This is a good series!
(5). This is way more advanced.
- Git Crash Course - A Simple Workflow for Small Teams and Startups
- Git Crash Course for Beginners (part 1/3) - YouTube
(6). A simple glossary by Atlassian
I dreamt about this just before sleeping: Git it like a Cactus which grows. I googled it and there came some astonishing and interesting findings.
git is like a cactus - Google Search
- Cactus Model | The Git Workflows Warehouse
- Hustle/git-cactus: 🌵 Git tool for Cactus Branching Model 🌵
- Git Flow vs. Trunk Based Development | Toptal
- Git Crash Course: A Simple Workflow for Small Teams and Startups | by Zach Gollwitzer | Medium
- Git Crash Course for Beginners (part 1/3) - YouTube
- Open Educational Resources on GitLab _
- Git Tutorial - javatpoint
- What is Git Flow | How to use Git Flow | Learn Git
- gitkraken.com/wp-content/uploads/2021/03/git-flow-4.svg
- A successful Git branching model » nvie.com
- What is the best Git branch strategy? | Git Best Practices
- GitHub flow - GitHub Docs
- make a new repository by git by bash - Google Search
- How to create a new repo at Github using git bash? - Stack Overflow
- git - Add a new Project to GitHub via Bash command? - Stack Overflow
- git - Is it possible to create a remote repo on GitHub from the CLI without opening browser? - Stack Overflow
- curl/curl: A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, etc.
- curl
- Install curl - Everything curl
Where is GIT located and what does it do internally?
I have often contemplated how to fix this if the system fails?! So i looked up and found something know as Git Internals.
Github and other version control systems are used to actually improve the work being done and also allow for many people to build smaller pieces of functionalities and then send them back to the main piece of the bigger software as a whole. Different companies have differernt terminologies to do this!
Here’s Why You’re Doing Code Review WRONG - Essential Software Engineer Skills - YouTube
STEPS TO MAKE A LOCAL REPOSITORY
- Step 0. Open Git Bash in that particular folder.
- Step 1. Type git init (this will make that folder a repository)
- Step 2. Type git add . (this will add all files to the repository)
- Step 3. Type git commit -m “Initial commit msg” (all files now in the repository)
- Step 4. Type git status (you will get a msg, “On branch master nothing to commit, working tree clean” this shows your local repository is finally created)
STEPS TO PUSH A LOCAL REPOSITORY TO A GITHUB REPOSITORY ONLINE
- Step 0. Open your GitHub profile and create a New Repository.
- Step 1. Copy the SSH Key of that created repository.
- Step 2. Open Git Bash in that particular folder that you want to push. Type git remote add origin PASTE_SSH_KEY_OF_CREATED_REPO. Then type git push origin master –force (type ‘main’ in place of the ‘master’ if your default branch is master)
- Step 3. Now, refresh your Github page, you will be able to see your committed folders/files there.