How to manage 'X-Gitlab-Commit-Id' headers on self hosted Gitlab server?

I need to get X-Gitlab-Commit-Id in response header

Where can i configure gitlab setting to get this header ? I am using self hosted GitLab

Maybe you can explain exactly what it is you are trying to achieve? What do you want this header to do? What value do you expect it to have? I don’t see anything in Gitlab docs that mention this header.