This sounds potentially like an XY-Problem. The description makes it sound like you have two different (independent) projects that, because of a management arrangement, you are told must be within some 'super' project.
That arrangement runs counter to the way Git is expected to work. Independent project get independent repos. so you would get a number of repositories, one per independent project, which may be grouped at a higher level in a directory hierarchy. If however the projects are just different features being developed within the same code base, then their is no problem in using the single repository with different branches for the different parts of the feature development. If one project is say, a bit of independent admin support (e.g. scripts) for the overall project, then you can have what are termed "orphan" (see --orphan) branches where their development DAG graph is disconnected (independent root) from the main projects root. That's also OK. The question is 'why a single repository?' and does it fit with the (disruptive) Git philosophy. On Saturday, June 20, 2020 at 9:48:23 AM UTC+1, Srinivas A.K wrote: > > Hello, > > > I am new to setting up Git server where i would like to add multiple > projects under a single Git repository. At present i have a Git repository > that contains only one project which contains "IOS project code" in a > single folder . Now, i came across a situation where i need to add "MAC > project code" also under the same repository but to a different folder. > > Can you please provide me a solution to add my existing Mac Project code > to existing Git repository ? Mac project and IOS project folders should be > in the same hierarchy under a single repository > > Thanks & Regards, > A.K.Srinivas > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/1945d6d5-85af-4df7-a3db-51a7b2778004o%40googlegroups.com.