|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!|
|Git Sim||3,684||3 months ago||33||July 05, 2023||8||gpl-2.0||Python|
|Visually simulate Git operations in your own repos with a single terminal command.|
|Git Cola||2,129||15 days ago||14||November 19, 2023||67||gpl-2.0||Python|
|git-cola: The highly caffeinated Git GUI|
|Oh My Git||1,304||3 months ago||97||other||GDScript|
|An interactive Git learning game!|
|Git Big Picture||521||4 days ago||8||September 27, 2022||11||gpl-3.0||Python|
|Git — the big picture|
|Visualization the history of repository changes based on data from GitHub|
|Interactive cheatsheet, visualization of git.|
|Git Deps||291||1||2 months ago||6||April 04, 2021||56||gpl-2.0||Python|
|git commit dependency analysis tool|
|Git Heatmap||253||a year ago||6||mit||Shell|
|:bar_chart: Display a heatmap for oft-edited files|
|Git Story||217||14 days ago||4||mit||Python|
|Easily create video animations (.mp4) of your Git commit history, directory from your Git repo.|
LearnGitBranching is a git repository visualizer, sandbox, and a series of educational tutorials and challenges. Its primary purpose is to help developers understand git through the power of visualization (something that's absent when working on the command line). This is achieved through a game with different levels to get acquainted with the different git commands.
You can input a variety of commands into LearnGitBranching (LGB) -- as commands are processed, the nearby commit tree will dynamically update to reflect the effects of each command:
This visualization combined with tutorials and "levels" can help both beginners and intermediate developers polish their version control skills. A quick demo is available here: https://pcottle.github.io/learnGitBranching/?demo
Or, you can launch the application normally here: https://pcottle.github.io/learnGitBranching/
By default the application launches in "sandbox mode" with a basic repository already created. Here you can enter commands and mess around with a repository as much as you like. Keep in mind you can
undoto undo the effects of the last command
resetto start over with a clean slate (works in levels too)
git cloneto simulate remote repositories!
Sandbox mode can be great for demonstrating something to a friend, but the real learning is with levels...
levels to see the available lessons / challenges (and which ones you have solved so far). Each level series aims to teach some high-level git concept, and each tab of levels separates major worlds of info (like remote repositories versus local).
For some added fun, there is a "git golf" concept where we keep track of how many commands you use to solve each level. See if you can match all of our records!
You can share a link to LearnGitBranching with an arbitrary set of commands that will execute upon load by using the
command URL parameter. You will also likely want to disable the intro dialog for this case with the
NODEMO url param; here is an example to get started.
You can build levels with the
build level command. A dialog will walk you through the process, and at the end it will show you a JSON blob that represents the level you just created. Paste that in a gist or directly into an issue and I can check it out / merge in your changes! You can also share this level directly with friends by having them run
import level and paste the JSON in the resulting text field, or simply send them a custom URL with the the gist ID in the parameters, like so:
When reporting bugs, try running the command
debug_copyTree() in your JS console when in a state just before reproducing a bug. This can avoid having to copy all the commands you used to get into a specific state. (I can then use the
importTreeNow command to get to that exact state)
For contributing core functionality in the app, you'll probably want to test your changes at least once before submitting a pull request. That means you'll need the "gulp.js" build tool to build the app:
You'll also need
yarn to download all the dependencies of the project.
The general workflow / steps are below:
git clone <your fork of the repo> cd learnGitBranching yarn install git checkout -b newAwesomeFeature vim ./src/js/git/index.js # some changes yarn gulp fastBuild # skips tests and linting, faster build # after building you can open up your browser to the index.html open ./index.html # file generated and see your changes vim ./src/js/git/index.js # more changes yarn gulp build # runs tests and lint git commit -am "My new sweet feature!" git push # go online and request a pull
Alternatively, you can also build and run the app in a pre-configured online workspace:
Here is the high-level process of the build:
template.index.html). This is only needed for new views
index.htmlin the root directory
Thus, if you build the app locally, all you have to do in order to run the app is just open up
index.html in the root directory of the repo. Pretty simple
You can run the most recently built stable image with
docker run -p 8080:80 ghcr.io/pcottle/learngitbranching:main. Access your environment with at http://localhost:8080/
You can build the app and image with the command:
docker build -t ghcr.io/pcottle/learngitbranching:latest. See the Makefile for information on how to build locally with docker.
A big shoutout to these brave souls for extensively testing our sandbox and finding bugs and/or inconsistencies:
And the following heroes for assisting in translating:
Also huge shoutout for everyone who has put up a pull request that was pulled! Check out the 30+ contributors we have in the Contributors View
And everyone who has reported an issue that was successfully closed!