> 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](https://mermaid.js.org/)**.

## Example

```mermaid
---
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

```
~~~

