---
title: "Discussion on \"Moving a Git Repository\" | Hashnode"
description: "Discussion on \"Moving a Git Repository\". Every once in a while you might need to move a Git repository while preserving the history. \nTL;DR\nHere is how you can move or duplicate a Git repository from an initial repository \nhttps://github.com/username/old.git to a new repository https://gith..."
url: "https://hashnode.com/posts/moving-a-git-repository/6058f8ac5771a2129446a882"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Moving a Git Repository](https://blog.cristiana.tech/moving-a-git-repository?utm_source=hashnode&utm_medium=feed)

Every once in a while you might need to move a Git repository while preserving the history. TL;DR Here is how you can move or duplicate a Git repository from an initial repository https://github.com/username/old.git to a new repository https://gith...

Mar 22, 2021 · 2 min read · blog.cristiana.tech  
Updated May 3, 2021  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)
-   [#remote](https://hashnode.com/tag/remote)

## Written by

[Cristiana Man](https://hashnode.com/@cristiana)

@cristiana · Copenhagen, Denmark

  
[View profile](https://hashnode.com/@cristiana)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
