Having started a small project using 4.7 preview 4 under Windows, I saved the project to a git repo on bitbucket.org. I then cloned the project under OS X and opened the project, without issue, under 4.7 preview 5.
I then tried to add the project to git within the Unreal Editor, however it claims the project is not within a git repo:
typhon:Xxxxxx andy$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: Config/DefaultEngine.ini
modified: Config/DefaultGame.ini
modified: Content/FirstPersonBP/Maps/FirstPersonExampleMap.umap
Untracked files:
(use "git add <file>..." to include in what will be committed)
Docs/
no changes added to commit (use "git add" and/or "git commit -a")
Well rather than losing changes, I have committed the modified files and added the Docs directory and retried and it made no difference (same error message). It seems to me that the git plugin is looking in the wrong place and it’s claim that .../ProjectDir/.git is not a git repository is probably correct (it should be dealing with .../ProjectDir and not the .git directory I guess?).
There are a few questions I’d like to ask to help me investigate this issue. Are you still experiencing this problem with preview 6? If you create a project in 4.6.1 are you able to save/open in 4.7 preview and add it to git? Also, have you tried debugging in a source build as Moss suggested? Let us know if you’re still having problems with this along with any other information you can think of.
There have been a number of issues regarding project conversions to preview 5, many of which were addressed and fixed for preview 6 with more fixed to come for the final release of 4.7. If you still have a copy of your project from an earlier engine version the best option would be to continue working there as the preview versions will continue to be less stable than the final version. You can resubscribe once 4.7 is released and decide if your project can take advantage of any of the bug fixes / new features.