File commit history shows commits from different files
After committing to Gitlab a new file with content similar to another file already in Gitlab, the new file's commit history will present the commit of the file that already existed. This was reproduced for files with the same or similar contents, like one character different. When "git log" is executed over the same file in the cloned repository, only the expected commit is shown.
Is this an expected behaviour?