# Branches in Replit, does this look right?

**URL:** https://replit.discourse.group/t/branches-in-replit-does-this-look-right/7961
**Category:** Tips & Tricks
**Tags:** how-to
**Created:** [November 30, 2025, 9:13pm UTC](https://replit.discourse.group/t/branches-in-replit-does-this-look-right/7961 "2025-11-30T21:13:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shawn93](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/shawn93/32/1239_2.png) [@shawn93](https://replit.discourse.group/u/shawn93)
#### Post date: [November 30, 2025, 9:13pm UTC](https://replit.discourse.group/t/branches-in-replit-does-this-look-right/7961/1 "2025-11-30T21:13:27Z")

</div>

Hi all,

I had some major roadblocks in setting up github with my project, and it seems like everything is working after a lot of digging around with Shell. Those of you who are using GitHub, am I doing this right?

In the Git tool, I setup everything to connect with [GitHub.com](http://GitHub.com) and in order to do pull requests, it told me I needed to be in a branch not main. I created a branch in the upper left (feature/serviceprovider-cpq). When making changes now, it will be on this branch not main, right? Then later on, I can merge it to main?

 ![image](https://canada1.discourse-cdn.com/flex010/uploads/replit/original/2X/7/74f0a022511676d976ce2cfc7cb597dc15f7196f.png)

---

<div class="post-metadata">

### Author: ![dontech09](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/dontech09/32/2301_2.png) [@dontech09](https://replit.discourse.group/u/dontech09)
#### Post date: [December 1, 2025, 6:42am UTC](https://replit.discourse.group/t/branches-in-replit-does-this-look-right/7961/2 "2025-12-01T06:42:36Z")

</div>

> [@shawn93](#):
>
> Hi all,
> 
> I had some major roadblocks in setting up github with my project, and it seems like everything is working after a lot of digging around with Shell. Those of you who are using GitHub, am I doing this right?
> 
> In the Git tool, I setup everything to connect with [GitHub.com](http://GitHub.com) and in order to do pull requests, it told me I needed to be in a branch not main. I created a branch in the upper left (feature/serviceprovider-cpq). When making changes now, it will be on this branch not main, right? Then later on, I can merge it to main?

Yes, you’re doing it right. When you create a new branch and make changes there, those updates stay in that branch and not in **main**. Once you’re done, you can open a pull request and merge your branch into **main**.

 ![image](https://canada1.discourse-cdn.com/flex010/uploads/replit/original/2X/9/976d7c3665e645e287e671c08b6a780cbb1e71ee.png)

---

<div class="post-metadata">

### Author: ![shawn93](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/shawn93/32/1239_2.png) [@shawn93](https://replit.discourse.group/u/shawn93)
#### Post date: [December 1, 2025, 10:24pm UTC](https://replit.discourse.group/t/branches-in-replit-does-this-look-right/7961/3 "2025-12-01T22:24:37Z")

</div>

Thanks, @dontech09 !
