Git sync when logseq is in a subdirectory of the repository

Hello,

given this directory structure:

repository
|    .git
|    src
L___folder1
        |    journals
        |    logseq
        |    pages

Will Logseq recognize that it is in a git repository and sync?