Manage changes using the Git node — n8n Workflow
Overview
This workflow allows you to add, commit, and push changes to a git repository.
Git node: This node will add the README.md file to the staging area. If you want to add a different file, enter the path of that file instead.
Git1 node: This node will commit all the changes that were added to the staging area by the previous node.
Git2 node: This node will return the commit logs of your repository.
Git3 node: This node will push the changes to a cloud repository.
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 5 nodes, connecting git, manualtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (5)
On clicking 'execute'
manualTrigger
Git3
git
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
manage-changes-using-the-git-nodefile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Harshil Agrawal
@harshil1712
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →