# Unable to commit changes via git since update to 5.5.4

**URL:** <https://forums.unrealengine.com/t/unable-to-commit-changes-via-git-since-update-to-5-5-4/2396908>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, git\
**Created:** [March 17, 2025, 10:00pm UTC](https://forums.unrealengine.com/t/unable-to-commit-changes-via-git-since-update-to-5-5-4/2396908 "2025-03-17T22:00:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edelmeier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@edelmeier](https://forums.unrealengine.com/u/edelmeier)\
**Post date:** [March 17, 2025, 10:00pm UTC](https://forums.unrealengine.com/t/unable-to-commit-changes-via-git-since-update-to-5-5-4/2396908/1 "2025-03-17T22:00:47Z")

</div>

I’ve just updated to 5.5.4 and cannot commit anything to my local git repo ever since.  
Before the update, I was running on 5.5.2 and had no such issue.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/3/1/0315c1c3f81603e29b28123ca6dbd3ba31769b47.jpeg)

As you see, the changes themselves are tracked somehow.

Obviously, the newer version regards git as unconfigured, which is fundamentally untrue:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/8/b981b7e9b94baac65e10832fc65041a5893f59a0.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/f/d8f2cdcf7189630b0bd1826d49f6606a752e5bc7.png)

It may be worth noting that the remote here is unconfigured on purpose (Local only git history)

Any hints that this is an issue with 5.5.4? What could I miss here? Yesterday, everything was fine…

---

<div class="post-metadata">

**Author:** ![edelmeier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@edelmeier](https://forums.unrealengine.com/u/edelmeier)\
**Post date:** [March 18, 2025, 9:25am UTC](https://forums.unrealengine.com/t/unable-to-commit-changes-via-git-since-update-to-5-5-4/2396908/2 "2025-03-18T09:25:19Z")

</div>

Short version: Using Git CLI instead of the unreal versioning UI showed that the `head` ref was not lockable, corrupted i guess. Had to delete `.git/refs/heads/master`. See [here](https://stackoverflow.com/questions/39057962/git-cannot-lock-ref-head-unable-to-resolve-reference-head)
