APIGit
Native Git RepositoryVersioned, Git-native API repositoryAPI DesignVisual OpenAPI editor with live lintingAPI DocumentPublish versioned docs from GitAPI GovernanceCheck every API against your standardsMock ServerFrom your OpenAPI spec or Express.js codeTeam CollaborationOrganizations, teams, permissions and reviews

The full API lifecycle

Design, document, mock and govern your APIs in one Git-native workspace.

Get started freeView pricing

Learning

Help DocsGetting StartedVideo TutorialsBlog

Support

Contact UsRequest a DemoReport an Issue
PricingAbout
Sign InSign Up for Free
APIGit

The Git Platform for Full Life-Cycle API Development

Product

  • Native Git Repository
  • API Design
  • API Document
  • API Governance
  • Mock Server
  • Team Collaboration

Resources

  • Blog
  • Documentation
  • Pricing
  • Contact

Company

  • About
  • Careers
  • Privacy Policy
  • Terms of Service
  • Service Level Agreement
  • Cookie Policy

© 2026 APIGit. All rights reserved.

Home / Blog / native-git / upstream-push-mirrors

Upstream Push Mirrors

2023-05-23
APIGit Team
3 min read
native-git

What is push mirrors?

A push mirror is a one-way sync: whenever your repository changes, APIGit forwards its commits, branches and tags to a remote repository, keeping that copy up to date.

Push mirrors are often used for backup and redundancy, and to keep a copy of an API repository on the Git platform that another team or partner uses. Your APIGit repository stays the source of truth.

How to set upstream push mirrors?

Push mirrors are available on the Enterprise plan. Navigate to your repository, open the Settings tab and go to Push Mirrors.

upstream-push-mirrors-list

Click Add Push Mirror, then enter the remote address, how to authenticate, and the sync interval.

upstream-push-mirrors-add

What does Apigit support?

You can add several push mirrors to one repository. The target can be a popular platform such as Github, Gitlab, Bitbucket, Azure, AWS, Gitee, or even a self-hosted Git server with public access. If you want your external server to be the source of truth instead, see two-way sync.

upstream-push-mirrors-support

What problems may you face?

You might get an error message if you use username and password to set upstream push mirrors for github repository.

In this case, you need a access token.

remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: Authentication failed for https://github.com/tuasxxxx/test.git

Back to Blog

Related Posts

Edit Many Files, Commit Once

APIGit • 2026-11-06
native-git

Edits in APIGit now stay as drafts across files. Review them together, choose what goes in, and commit them as one commit, with conflicts resolved line by line.

Read More

Pull Request Upgrades in APIGit

APIGit • 2026-11-06
native-git

Commit events in the timeline, a file tree for the diff, update branch, a merge style dropdown and checks that recover from temporary failures.

Read More

SSH Access, Deploy Keys and Repository Tokens

APIGit • 2026-11-06
native-git

Clone and push over SSH at git.apigit.com, give a server access to one repository with a deploy key, and use personal access tokens limited to repositories.

Read More

Ready to get started with APIGIT?

Join thousands of developers and teams who are already using APIGIT to streamline their API development workflow.

Get Started Book a Demo