The highly-rated 23-year-old right-back made his debut for the U's back in 2013 and is a graduate of the club's academy side.
He has made eighteen appearances for the club in that time - all in the Football League.
Long has been a regular starter for the Beavers over the last few weeks, having joined to get game-time after an injury-affected first half of the season.