> ## Documentation Index
> Fetch the complete documentation index at: https://docs.finwatch.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Git Pull

> Pulls the latest changes from the remote Git repository. Use this to sync your local rules with the remote repository after changes have been pushed by other team members.



## OpenAPI

````yaml GET /git/pull
openapi: 3.1.0
info:
  title: FinWatch API
  description: >-
    FinWatch REST API for real-time transaction monitoring, rule evaluation, and
    instruction management.
  version: 1.0.0
  contact:
    name: FinWatch Support
    url: https://docs.finwatch.finance
servers:
  - url: http://localhost:8081
    description: Local development server
security: []
tags:
  - name: Transactions
    description: >-
      Inject transactions for evaluation, retrieve transaction details, and
      handle webhook events.
  - name: Instructions
    description: >-
      Create, list, retrieve, and delete monitoring rules written in
      Watchscript.
  - name: Git
    description: Manage rules with Git for version control — status, pull, push, and clone.
paths:
  /git/pull:
    get:
      tags:
        - Git
      summary: Git Pull
      description: >-
        Pulls the latest changes from the remote Git repository. Use this to
        sync your local rules with the remote repository after changes have been
        pushed by other team members.
      operationId: gitPull
      responses:
        '200':
          description: Pull successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GitPullResponse'
              example:
                message: Pull successful
                files_changed: 2
                insertions: 15
                deletions: 3
        '500':
          description: Failed to pull from remote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    GitPullResponse:
      type: object
      properties:
        message:
          type: string
          description: Pull status message
        files_changed:
          type: integer
          description: Number of files changed
        insertions:
          type: integer
          description: Number of lines inserted
        deletions:
          type: integer
          description: Number of lines deleted
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        code:
          type: string
          description: Error code

````