
Learn Git and GitHub for version control, including repositories, commits, branches, merges, and collaboration via pull requests. Explore remote workflows, forks, and GitHub pages for project sites.
Learn what Git is, a free open source distributed version control system for tracking changes in code and enabling fast, data-integrity driven collaboration.
GitHub provides internet hosting for git repositories and supports distributed version control and source code management. Access projects from anywhere, download, make changes, and push updates to collaborate with others.
In this section you will learn how to interact with your Mac or PC by using only text based commends.
In this lecture you will learn what a Graphical User Interface (GUI) is.
Master Mac terminal basics by navigating directories, using pwd, ls, and cd, and leveraging autocomplete and capitalization rules to move between user folders and applications.
Explore mac terminal basics: view file sizes with ls, create a test file, and delete directories recursively with rm -R, understanding its destructive and irreversible effects.
Explore Mac terminal basics with a recap of cd navigation, ls variants for listing files, and disk space commands. Manage files and directories using mkdir, rm, touch, cp, and mv.
Understand Windows terminology and the Windows command prompt (cmd), compare it with PowerShell, and use Visual Studio Code's integrated terminal to navigate directories with cd and ir (directory).
Learn to navigate Windows command prompt using keyboard only, mastering cd, listing directories, tab completion, quotes for spaces, up/down command history, and basic file system traversal.
Explore absolute and relative navigation in the command prompt, starting from the root or from your current folder. Prefer relative paths to keep projects portable.
Recap Windows command prompt basics: navigate with cd and relative paths (recommended), create, delete, copy, and move files and folders, and compare cmd with PowerShell.
In this section we are going to focus only on git and the basics of git version management and work flow with Git.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Learn how the working directory and repository differ, and how changes move from the working directory to the staging area, then to commit, before reaching the Git file hidden folder.
Learn how branching keeps a finished project intact by testing new features on a separate branch from main, then safely merge back when ready.
Install git on Mac using homebrew, complete the terminal steps, and verify the version with git --version. Install Visual Studio Code to prepare your editor.
Install and configure Visual Studio Code across macOS, Windows, and Linux; explore extensions, themes, and terminals, and start a basic Git/GitHub project by creating folders and markdown files.
Learn how to create and initialize a git repository, understand basic commands like cd, mkdir, touch, and committing, and configure the initial branch name from master to main.
Commit staged files to the repository with git commit -m 'your message', then configure your identity globally with git config --global user.name and user.email, and verify with git status.
Use git log to document repository activity, review commits, and confirm the main branch and staging state while learning branch creation and checkout.
Switch to the main branch, merge the third branch with git merge, and verify the result with git log to see the committed changes.
Understand how head tracks the current branch when switching branches with git checkout. See how head points to the tip of the active branch and how a detached head occurs.
Understand the detached head in git: checking out a commit places you outside any branch, and you can switch back or create a new branch.
Switch between branches with git switch, a newer, more explicit alternative to git checkout, and create new branches with git switch -c.
Switch to the main branch and delete the to-do list file, then stage, add, and commit the change while checking the staging area and status with git commands.
Undo unstaged changes with git checkout for files, use git restore for onstage changes and the initial state, and use git clean to remove new files, with status checks.
Learn to undo staged changes with git restore --staged, manage the staging area with status checks, and prepare for deleting commits across multiple files.
Explore deleting commits in git using reset commands, including soft and hard resets, and see how they affect the head, staging area, and working directory.
Learn to delete merge and non-merge branches in git using git branch -d and git branch -D, including deleting multiple branches after merging with master to prevent duplication.
Learn to use a .gitignore file to ignore specific files and folders, commit the ignore rules, and selectively track exceptions with negation, including examples like log files and distribution folders.
Explore how git provides distributed version control with commits, branches, and history, and how GitHub enables cloud hosting, pushing, pulling, and collaborating on private or public repositories.
Create a GitHub account, explore the main page, set up your first repository, and learn basic collaboration with branches using Visual Studio Code and the free plan.
Connect your development environment to GitHub, initialize a local repo, add and commit changes, set the remote origin, and push updates to the main branch.
Push local changes to a remote repository by using git add, committing, and git push origin main. Learn upstream and branches by viewing history with git log and git branch.
Create a local tracking branch that tracks a remote branch on origin using git branch --track, then switch, commit, and push.
Review the local-to-remote workflow with git remote and git remote show origin, and set up local tracking via git branch --track origin/<branch>.
Clone a complete repository from GitHub into your local workspace, then set up local tracking for remote branches like main and components. Create, switch, and push to branches.
Create two new branches, add files, and commit to demonstrate upstream tracking between local branches and a remote repository, then push with upstream and verify origin tracking.
Summarizes core Git and GitHub concepts, including local and remote repositories, pushing and pulling changes, cloning, and managing remote and local tracking branches with upstream.
Explore how GitHub enables collaborative work, learn the difference between public and private repositories, fork repositories, create pull requests, and merge changes into the main branch.
Learn how to change a GitHub repository from public to private, navigate the destructive warning, and understand impacts on stars, watchers, unpublished pages, dependency graphs, and plans.
Invite a collaborator to the repository, accept the invitation before it expires, gain push access, and merge a pull request from a branch.
Learn how to contribute to open source on GitHub by forking repositories, creating branches, and submitting pull requests, then review, merge, and manage changes in the main project.
Learn to create and host a website from a GitHub repository using GitHub pages, understand static sites, build multiple pages, and publish or unpublish your site.
Create a public repository named yoursite.github.io and enable GitHub pages from settings using the main branch, then expect up to 20 minutes for the site to go live.
Learn to use Jekyll, a static site generator with built-in GitHub Pages support, to convert markdown and html into a themed, publishable website and manage it via GitHub settings.
Unpublish a GitHub Pages site by selecting none in the pages settings. Set it to private to remove it from the web and learn about custom domains and DNS.
Explore a real-world project workflow from local to remote repositories, with two developers building a responsive landing page and a functional dropdown menu using JavaScript.
Learn how to contribute to a project by turning a design into a website using Sass, components, and a distribution folder, then create and manage a GitHub repository with collaborators.
Create and manage a git repository in Visual Studio Code, cloning, branching, logging steps, setting up an ignore file, and pushing to origin while preparing a pull request.
Contribute to a collaborative Git workflow by cloning the project, managing branches, submitting and merging a pull request, and implementing a simple JavaScript-driven menu feature in the repo.
Accept a pull request from the contributor branch and merge into main, then push and confirm the merge to get the code running.
Publish a personal website on GitHub by configuring page settings, selecting the source, and verifying the public site, while managing contributors and main branch changes.
Explore a beginner blockchain project on a public GitHub repository, and learn forking and pull requests to add blocks to the chain, all while practicing Git and GitHub basics.
Fork the repository, create a new block file (block 002), update the index.html, and commit changes. Open a pull request, merge, and verify the block appears on the blockchain.
What is Version Control?
What is Git?
What is GitHub?
Why Should I learn Git and GitHub ?
All this questions are answered here.
Git and GitHub are essential tools that sooner or later each developer needs to learn.
Hi! My name is Norbert and this is my Git and GitHub for complete beginners course.
Eider you are a freelancer or work at a company the probabilities that you will collaborate with others on a project or multiple projects, are prate hi to most certain. Even if you go full lonely wolf you still need some sort of backup, redundancy, version control and remote repository system.
No matter if you're just getting started with (web) development, or applying for a developer job or if you just need to refresh your knowledge on Git and GitHub, version control and version management are a core skills and a must know for all developers.
The best toll on the market for version control are Git and GitHub, and they are the most popular version management and repository systems. Also the synergy between Git and GitHub makes them a reliable source for remote work. Also combining them with Microsoft Visual Studio Code will increase your development speed.
This course will guide you from a complete beginner with 0 knowledge of Git and GitHub, to be confident and efficient when working with version control and version management systems.
Prier Knowledge?
Absolutely No prier knowledge is required.
What will you learn ?
Essential Mac and Windows terminal commends for
Accessing files and directories using the Mac Terminal and Windows cmd
Creating and Deleting files and directories using the Mac Terminal and Windows cmd
Flagging files and directories using the Mac Terminal and Windows cmd
Copying, Renaming and Moving files and directories using the Mac Terminal and Windows cmd
What is Git and version management
How Git works and how to install git on Mac and PC
How to create a repository in git
How to add, commnit and log your commits to a git repository
What are branches, how to create, merge and delete branches
How .gitignore works
What is GitHub remote control
How git and GitHub work together
How to go from a local repository to a remote repository
How to create a GitHub Account, and your first Remote repository
How to connect and pushing to your repository, also log your pushing history and branches
What are Remote and local tracking branches
How to create a local tracking branch
From Local-Remote Workflow important commands
From Remote to local repositories with "Cloning"
What is the upstream, branches with and without
How to delete branches and public commits
How GitHub collaboration works
What the difference between Public and Privat Repositories is
How to change a Public to a private repository and back
How to Fork a repository
How to create a pull request, accepting and merging the pull request to the main branch
How to add and remove collaborators from a repository
How to contribute to open source projects and repositories
How you can host your websites on GitHub
What is GitHub Pages and how it works
How to create a website using GitHub pages
What is a static site generator and how to create a static website and host it on GitHub
How to add more content to a website by adding multiple pages
How to publish and unpublish your website using GitHub Pages.
Real World Projects
Create and contribute to a modern-landing-page repository
Contribute to the BarniCoin-Blockchain (NOT A REAL BLOCKCHAIN)