Using image is not encouraged in the community because it couldn't be searched and viewed easily, try to do this
│ ├── .git
│ ├── android
│ ├── ios
1. git doesn't track anything outside the root directly, simplified our structure to this first
2. Don't move any .git directory yourself. It is meaningless. It contains all of the previous ios directory information.
Choice a (use the original repo, remove the ios directory, update the directory )
3. Let's assume you delete the ios folder or move it to somewhere else
4. the ios directory is still tracked in the remote, to stage the change,
git add .
git commit -m "removed the whole ios folder"
Choice b, use another repo, keep the ios directory in the original position, move your android directory to somewhere else ( not recommended, your history of commit of android all gone)
in the directory containing the android directory,
git add .
git commit -m "first commit"
git remote add origin <your url of repo>
git push -u origin master