# How to checkout a remote git branch using History panel

**URL:** https://discourse.nodered.org/t/how-to-checkout-a-remote-git-branch-using-history-panel/52263
**Category:** General
**Created:** [15 October 2021 11:48 UTC](https://discourse.nodered.org/t/how-to-checkout-a-remote-git-branch-using-history-panel/52263 "2021-10-15T11:48:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anxuae](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/anxuae/32/49439_2.png) [@anxuae](https://discourse.nodered.org/u/anxuae)
#### Post date: [15 October 2021 11:48 UTC](https://discourse.nodered.org/t/how-to-checkout-a-remote-git-branch-using-history-panel/52263/1 "2021-10-15T11:48:04Z")

</div>

Hello,

I'm working with Node-RED (1.3.6) in project mode. My project is linked with a GitLab repository.

How can I checkout a git branch that has been created in GitLab (from a Merge Request)?

I have only the possibility to create a local branch, on the current one. If I do a "Pull", the remote branch does not appears in the local branches list.

So for the moment, the only way that I've found is to do _ **git checkout my-branch** _ in a console before starting working on it in editor. But it is not really user-friendly.

Thanks

---

<div class="post-metadata">

### Author: ![anxuae](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/anxuae/32/49439_2.png) [@anxuae](https://discourse.nodered.org/u/anxuae)
#### Post date: [22 October 2021 06:14 UTC](https://discourse.nodered.org/t/how-to-checkout-a-remote-git-branch-using-history-panel/52263/2 "2021-10-22T06:14:32Z")

</div>

It may be a bug in the History UI, I will post a GitHub issue in Node-RED

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [21 December 2021 06:14 UTC](https://discourse.nodered.org/t/how-to-checkout-a-remote-git-branch-using-history-panel/52263/3 "2021-12-21T06:14:44Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
