---
title: "Updating Applications Git URL"
date: "2025-02-11T15:04:32+00:00"
summary: "Learn how to find and update your application's Git origin URL on Acquia Cloud Platform with simple step-by-step commands."
image:
type: "article"
url: "/acquia-cloud-platform/help/93466-updating-applications-git-url"
id: "3bf4ff07-6a1f-4c34-a077-c4574d20363c"
---

To update your application's Git origin URL, the Git URL must be first retrieved from the [Cloud Platform](https://cloud.acquia.com/) login. To find out your application's Git URL for environments running on the [Cloud Classic](/node/55808) infrastructure, you can retrieve the information by navigating to Applications > \[Environment\_Name\] > Overview page in the [Cloud Platform](https://cloud.acquia.com/) login.

In the Environment Details section, you can retrieve the Git URL. It will be of the form:

`[APPLICATION_NAME]@[SVN_ID].[REALM].hosting.acquia.com:[APPLICATION_NAME].git`

For example:

    spark@svn-12345.prod.hosting.acquia.com:spark.git

After you have the new Git URL, you can update your application's Git URL by running the following commands: 

1.  Retrieve existing origin URL information.
    
        $ git remote get-url origin
    
    Example expected output:
    
        spark@svn-15824.prod.hosting.acquia.com:spark.git
    
2.  Update command to new origin URL.
    
        $ git remote set-url origin [APPLICATION_NAME]@[SVN_ID].[REALM].hosting.acquia.com:[APPLICATION_NAME].git
    
    Example command:
    
        $ git remote set-url origin spark@svn-28441.prod.hosting.acquia.com:spark.git
    
3.  Verify the new origin URL.
    
        $ git remote get-url origin
    
    Expected output form:
    
        [APPLICATION_NAME]@[SVN_ID].[REALM].hosting.acquia.com:[APPLICATION_NAME].git
    
    Example output:
    
        spark@svn-12345.prod.hosting.acquia.com:spark.git