Simplify Commit and Url calls
Add a basic check if url is empty