JavaScript for Beginners
Variables, functions, arrays, objects, the DOM and async code
Technology & ProgrammingTrack changes, branch safely and collaborate with pull requests
Finish the 12 lessons (about 2 h) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.
If you've ever had a folder full of files named report_final_v2_REAL.docx, you already understand the problem Git solves. Git is a version control system: it records snapshots of your project so you can see what changed, when and why, go back to any earlier state, and work on several ideas at once without breaking what already works. GitHub is a website that hosts Git repositories online so people can share code, review each other's changes and collaborate.
Git is used by almost every software team in the world, and increasingly by data analysts, writers, designers and researchers. Yet many people learn it by memorizing a few commands and panicking when something unexpected happens. This free course builds the mental model first, so the commands make sense.
You'll install and configure Git, create a repository, and learn the three areas every change passes through: the working directory, the staging area and the commit history. You'll write useful commit messages, ignore files that don't belong in a repository, and learn safe ways to undo mistakes. Then you'll create branches, merge them, and resolve merge conflicts calmly.
In the second half you'll connect to GitHub: push and pull, clone and fork, open a pull request, review code, and follow the GitHub flow that many teams use daily. You'll finish with tags, releases, README files and habits that keep repositories healthy and secrets out of them.
The course is for complete beginners and for people who use Git but don't feel confident with it. No programming experience is required. Every lesson mixes short explanations with realistic scenarios and quick checks, and you can earn a free certificate of completion by passing the final exam.
Why version control exists, how Git and GitHub fit together, and how to install and configure Git on your computer.
Create a repository, move changes through the staging area into commits, read history and diffs, ignore files and undo mistakes safely.
Work on several ideas at once with branches, combine them with merges, and resolve merge conflicts without panic.
Connect a local repository to GitHub, push, clone, fetch and pull, then propose and review changes with pull requests.
Follow the GitHub flow, contribute through forks and issues, and keep repositories documented, versioned and secure.
20 questions drawn from a pool of 33. Score 70% or more to pass; retakes get a fresh set of questions.
Which of these is NOT something Git helps you do?
Answer: C. Automatically back up your files to the cloud every hour
Git records history on your own computer only when you commit; it doesn't back anything up by itself. Pushing to a remote such as GitHub is what puts a copy elsewhere, and even then only when you choose to push.
Git is free, open-source software that tracks changes on your own computer. GitHub is an online service that hosts Git repositories and adds collaboration tools such as pull requests, issues and code review. You can use Git without GitHub, and alternatives like GitLab and Bitbucket host Git repositories too.
No. Git tracks any text files: code, documentation, configuration, research notes or a book manuscript. It works best with plain text, because it can show line-by-line differences, but it can store any file.
Learn the core commands in a terminal first, because every tool, tutorial and error message is described in those terms. Afterward, use whatever is comfortable: VS Code, GitHub Desktop and other apps run the same Git commands underneath.
git fetch downloads new commits from the remote but doesn't change your files or branches. git pull fetches and then immediately merges (or rebases) those commits into your current branch. Fetch is the safe way to look before you combine.
No. The secret is still in the history, and if it was pushed, assume it has been seen. Revoke or rotate the credential immediately, then remove it from history with a dedicated tool if needed. Rotating the secret is the step that actually protects you.
Yes, they're just different names for a repository's default branch. Older repositories often use master; GitHub and many teams now use main for new repositories. Git itself treats the name like any other branch.
No. It's a certificate of completion from this course showing that you passed its exam. GitHub offers its own paid certification exams if you need a vendor credential.
Variables, functions, arrays, objects, the DOM and async code
Technology & ProgrammingWrite real programs with variables, loops, lists, dictionaries and functions
Technology & ProgrammingWrite real programs: games, quizzes and calculators from your first line of code
Technology & ProgrammingCode real browser games with variables, loops, canvas drawing, keys and collisions
Technology & ProgrammingMatch, extract and replace text with regex in JavaScript, Python and your editor
Technology & ProgrammingAlgorithms, loops, if-then, variables and bug hunting, then write real JavaScript
Technology & Programming