Display a GitGraph diagram using Mermaid

A GitGraph is a pictorial representation of git commits and git actions(commands) on various branches. For a complete syntax guide, refer to the Mermaid documentation.

Example

---
title: Example Git diagram
---
gitGraph
   commit
   commit
   branch develop
   checkout develop
   commit
   commit
   checkout main
   merge develop
   commit
   commit

Code:

```mermaid
---
title: Example Git diagram
---
gitGraph
   commit
   commit
   branch develop
   checkout develop
   commit
   commit
   checkout main
   merge develop
   commit
   commit

```