can't commit with sublime text git on Ubuntu 14.04
Try this
rm -f my_project_path/.git/index.lock
Sometimes, there is inconsistencies preventing git to release the lock, you also, just in case, should run git consistence checks to make sure your local git repo is consistent:
git fsck