This repository demonstrates how Git works internally using the Stack data structure. It provides a simple visualization of how commits, branches, and undo operations function in Git by modeling them as stack operations.
Git follows a Last-In-First-Out (LIFO) approach in many operations, similar to a stack. This project visualizes how commits are pushed onto a stack and popped when rolling back changes.
- Commits β Pushed onto the stack.
- Undo (Revert/Reset) β Pops the latest commit.
- Branches β Represent multiple stacks, allowing diverging paths.
- Merging β Combines stacks into a single branch.
- Simulates Git operations using a stack.
- Visualizes commit history as a stack.
- Supports undo (pop operation) and redo.
- Demonstrates branching and merging using multiple stacks.
- Jayanth-Rookie : https://github.com/Jayanth-Rookie
- Hiral K Jain : https://github.com/hiralkjain
- HemanthBD2005 : https://github.com/HemanthBD2005
- Ganash B :
- HTML CSS JAVASCRIPT
- Basic understanding of Git and Stack data structures
Clone this repository:
git clone https://github.com/BhuvanR75/githubvisual.git