<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>GitHub for Professional Beginners: From First Repository to First Release</title><link>/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><description>Table of Contents

 Introduction 
 What are Code Branches and Code Commits? 
 Some Terminology, and the Branch Strategy! 

 Main Branch 
 Development Branch 
 Release Branch 
 Feature Branch 
 Local and Remote 
 Push versus Pull versus Pull Request! </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Tue, 16 Jun 2026 17:59:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Even if I don&amp;#39;t have a proper strategy, and&amp;nbsp;am just working on a small personal project, bits of the process can be followed minus the development branch. For example, I have a small project in my own repository, I know no-one else is working on it, and I only have a main branch. This would be the situation at the start of a lot of simple projects I imagine.&lt;/p&gt;
&lt;p&gt;On the PC, I had done a git clone to obtain the repo contents, and directly made and tested some code changes which have essentially ended up&amp;nbsp;implementing a new feature. How can I get those changes into the repository?&lt;/p&gt;
&lt;p&gt;I decided to create a feature branch after the fact that I had already worked on the feature, and merge that into main. You&amp;#39;d never do this for a real project where you&amp;#39;d want the ability to test multiple features before putting them into main; for that, you&amp;#39;d need the development branch to test&amp;nbsp;an entire combination of new features thoroughly&amp;nbsp;before merging into main. But this is my small project, I&amp;#39;m the only coder and tester, and I only want to merge one feature that I have tested (both feature and integration, since there are no other features to be integrated), and I&amp;#39;m not creating releases (so far!).&lt;/p&gt;
&lt;p&gt;I did this:&lt;/p&gt;
&lt;pre&gt;git switch -c feature-acmeas&amp;nbsp; # create and switch to a branch called feature-acmeas&lt;br /&gt;&lt;br /&gt;git add .&amp;nbsp; # prepare/stage the files for commit&lt;br /&gt;&lt;br /&gt;git commit -m &amp;quot;Add AC measurement functionality&amp;quot;&lt;br /&gt;&lt;br /&gt;git push -u origin feature-acmeas  # publish your feature branch to the remote (origin)&lt;/pre&gt;
&lt;p&gt;Then, I went to the GitHub repo web page, and clicked on &lt;strong&gt;Pull request,&lt;/strong&gt; and created that as described in the blog post, requesting a merge into main, from the feature branch. I clicked through to perform the merge.&lt;/p&gt;
&lt;p&gt;Finally, to delete the feature branch:&lt;/p&gt;
&lt;pre&gt;git checkout main  # get away from the branch that is to be deleted&lt;br /&gt;&lt;br /&gt;git pull  # update the view with the latest from the origin&lt;br /&gt;&lt;br /&gt;git branch -d feature-acmeas  # delete the local feature branch&lt;br /&gt;&lt;br /&gt;git push origin --delete feature-acmeas  # delete the branch at the origin&lt;/pre&gt;
&lt;p&gt;All done!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Mon, 08 Jun 2026 16:47:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>balajivan1995</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;Nice write up. But something seem to be missing and it took me a while to realise the part where git asks for password to push local commits to remote branch is missing.&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Sun, 07 Jun 2026 19:58:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Very good post.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Sun, 07 Jun 2026 17:11:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Just added the following diagram to help follow things.&lt;/p&gt;
&lt;p&gt;I hope it&amp;#39;s correct, but if anyone spots any error, please let me know!&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-4f93f685-a031-4a13-8f6b-e11ac68cc430/feature_2D00_and_2D00_release_2D00_diagram.png" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Sun, 07 Jun 2026 15:35:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thanks for the great explanation!&amp;nbsp; I have used Git in the past, but I am still rusty on all the ins and outs of the process, so this was a great review.&amp;nbsp; Having started my software development on Unix environments, I have had a lot of experience using CVS.&amp;nbsp; I have also used SVN (tortoise) on PCs, but I was never very impressed with that environment.&amp;nbsp; I can see a lot of value in starting to use Git for my internal software development, so I have bookmarked this post to refer back to it when I am ready use it.&amp;nbsp; Thanks for sharing this with the community!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Sun, 07 Jun 2026 02:31:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>kmikemoo</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great information!&amp;nbsp; I may never get to this level, but it&amp;#39;s noce to know that this guide is here if/when I need it.&amp;nbsp; Thanks!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: GitHub for Professional Beginners: From First Repository to First Release</title><link>https://community.element14.com/technologies/open-source-hardware/b/blog/posts/github-for-professional-beginners-from-first-repository-to-first-release</link><pubDate>Sat, 06 Jun 2026 17:03:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f93f685-a031-4a13-8f6b-e11ac68cc430</guid><dc:creator>manojroy123</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very Interesting. I was looking for such Beginners guide t GitHub.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=29849&amp;AppID=18&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>